change autoconf scripts to /bin/sh, no -i on ping for portability

This commit is contained in:
toddouska
2015-06-10 14:11:36 -07:00
parent 44db140076
commit f76af05abf
5 changed files with 7 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
#commit-tests.sh #commit-tests.sh

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# external.test # external.test
@@ -8,7 +8,7 @@ ca=./certs/wolfssl-website-ca.pem
[ ! -x ./examples/client/client ] && echo -e "\n\nClient doesn't exist" && exit 1 [ ! -x ./examples/client/client ] && echo -e "\n\nClient doesn't exist" && exit 1
# is our desired server there? # is our desired server there?
ping -c 2 -i 0.2 $server ping -c 2 $server
RESULT=$? RESULT=$?
[ $RESULT -ne 0 ] && echo -e "\n\nCouldn't find $server, skipping" && exit 0 [ $RESULT -ne 0 ] && echo -e "\n\nCouldn't find $server, skipping" && exit 0

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
# google.test # google.test
@@ -7,7 +7,7 @@ server=www.google.com
[ ! -x ./examples/client/client ] && echo -e "\n\nClient doesn't exist" && exit 1 [ ! -x ./examples/client/client ] && echo -e "\n\nClient doesn't exist" && exit 1
# is our desired server there? # is our desired server there?
ping -c 2 -i 0.2 $server ping -c 2 $server
RESULT=$? RESULT=$?
[ $RESULT -ne 0 ] && echo -e "\n\nCouldn't find $server, skipping" && exit 0 [ $RESULT -ne 0 ] && echo -e "\n\nCouldn't find $server, skipping" && exit 0

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
#reusme.test #reusme.test

View File

@@ -1,4 +1,4 @@
#!/bin/bash #!/bin/sh
#sniffer-testsuite.test #sniffer-testsuite.test