From 7b5ec6924f5490e73621a66b32f7dce11e361546 Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Tue, 11 Dec 2018 17:31:37 -0700 Subject: [PATCH] change check in external test script --- scripts/external.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/external.test b/scripts/external.test index 96a0c7aa..56d5531b 100755 --- a/scripts/external.test +++ b/scripts/external.test @@ -39,7 +39,7 @@ echo -e "Success\n" # not having the sftp client built in is not a failure case ./wolfsftp/client/wolfsftp -h -if [ $? == 0 ]; then +if [ $? -eq 0 ]; then echo "Testing wolfsftp connection to $host : " echo "exit" | ./wolfsftp/client/wolfsftp -u $user -P $password -h $host -p 22 RESULT=$?