mirror of https://github.com/wolfSSL/wolfssh.git
change check in external test script
parent
3994d0f538
commit
7b5ec6924f
|
@ -39,7 +39,7 @@ echo -e "Success\n"
|
||||||
|
|
||||||
# not having the sftp client built in is not a failure case
|
# not having the sftp client built in is not a failure case
|
||||||
./wolfsftp/client/wolfsftp -h
|
./wolfsftp/client/wolfsftp -h
|
||||||
if [ $? == 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "Testing wolfsftp connection to $host : "
|
echo "Testing wolfsftp connection to $host : "
|
||||||
echo "exit" | ./wolfsftp/client/wolfsftp -u $user -P $password -h $host -p 22
|
echo "exit" | ./wolfsftp/client/wolfsftp -u $user -P $password -h $host -p 22
|
||||||
RESULT=$?
|
RESULT=$?
|
||||||
|
|
Loading…
Reference in New Issue