diff --git a/apps/wolfsshd/test/error_return.sh b/apps/wolfsshd/test/error_return.sh index 0c00336e5..8c876324b 100755 --- a/apps/wolfsshd/test/error_return.sh +++ b/apps/wolfsshd/test/error_return.sh @@ -13,7 +13,7 @@ PUBLIC_KEY="./keys/hansel-key-ecc.pub" if [ -z "$1" ] || [ -z "$2" ]; then echo "expecting host and port as arguments" echo "./error_return.sh 127.0.0.1 22222" - exit -1 + exit 1 fi echo "$TEST_CLIENT -c 'bash -c \"(exit 2)\"' -u $USER -i $PRIVATE_KEY -j $PUBLIC_KEY -h \"$1\" -p \"$2\"" diff --git a/apps/wolfsshd/test/sshd_exec_test.sh b/apps/wolfsshd/test/sshd_exec_test.sh index 2fde3bda2..889bc24a2 100755 --- a/apps/wolfsshd/test/sshd_exec_test.sh +++ b/apps/wolfsshd/test/sshd_exec_test.sh @@ -13,7 +13,7 @@ PUBLIC_KEY="./keys/hansel-key-ecc.pub" if [ -z "$1" ] || [ -z "$2" ]; then echo "expecting host and port as arguments" echo "./sshd_exec_test.sh 127.0.0.1 22222" - exit -1 + exit 1 fi set -e diff --git a/apps/wolfsshd/test/sshd_forcedcmd_test.sh b/apps/wolfsshd/test/sshd_forcedcmd_test.sh index 47687fb9a..645307f26 100755 --- a/apps/wolfsshd/test/sshd_forcedcmd_test.sh +++ b/apps/wolfsshd/test/sshd_forcedcmd_test.sh @@ -5,7 +5,7 @@ if [ -z "$1" ] || [ -z "$2" ]; then echo "expecting host and port as arguments" echo "./sshd_exec_test.sh 127.0.0.1 22222" - exit -1 + exit 1 fi PWD=`pwd` @@ -42,7 +42,7 @@ cat $RESULT | grep bob RESULT=$? if [ "$RESULT" == 0 ]; then echo "Shell login should fail with forced command" - exit -1 + exit 1 fi set -e diff --git a/apps/wolfsshd/test/sshd_x509_test.sh b/apps/wolfsshd/test/sshd_x509_test.sh index dd9005f53..991e5d849 100755 --- a/apps/wolfsshd/test/sshd_x509_test.sh +++ b/apps/wolfsshd/test/sshd_x509_test.sh @@ -8,7 +8,7 @@ cd ../../.. if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ]; then echo "expecting host, port and user as arguments" echo "./sshd_x509_text.sh 127.0.0.1 22222 user" - exit -1 + exit 1 fi TEST_CLIENT="./examples/client/client"