Commit 575c0bd2 authored by Niels Möller's avatar Niels Möller

Fixed handling of return value from

spawn_lshd.

Rev: src/testsuite/lsh-6-test:1.5
parent d0985139
...@@ -14,14 +14,16 @@ ALGORITHMS="arcfour twofish blowfish 3des aes rijndael cast128 all" ...@@ -14,14 +14,16 @@ ALGORITHMS="arcfour twofish blowfish 3des aes rijndael cast128 all"
LSHD_FLAGS="$LSHD_FLAGS -c all" LSHD_FLAGS="$LSHD_FLAGS -c all"
spawn_lshd && for c in $ALGORITHMS ; do if spawn_lshd ; then
echo Trying encryption flag $c for c in $ALGORITHMS ; do
if LSH_FLAGS="$OLD_FLAGS -c $c" exec_lsh "exit 0"; then echo Trying encryption flag $c
echo " Ok" if LSH_FLAGS="$OLD_FLAGS -c $c" exec_lsh "exit 0"; then
else echo " Ok"
echo " Fail"; test_fail else
fi echo " Fail"; test_fail
done fi
done
test_success test_success
fi
test_done
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment