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"
LSHD_FLAGS="$LSHD_FLAGS -c all"
spawn_lshd && for c in $ALGORITHMS ; do
echo Trying encryption flag $c
if LSH_FLAGS="$OLD_FLAGS -c $c" exec_lsh "exit 0"; then
echo " Ok"
else
echo " Fail"; test_fail
fi
done
test_success
if spawn_lshd ; then
for c in $ALGORITHMS ; do
echo Trying encryption flag $c
if LSH_FLAGS="$OLD_FLAGS -c $c" exec_lsh "exit 0"; then
echo " Ok"
else
echo " Fail"; test_fail
fi
done
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