Commit d103ce7c authored by Pontus Freyhult's avatar Pontus Freyhult

Slightly rewritten, the last version didn't succeed when it should.

Rev: src/testsuite/lshd-no-auth-test:1.2
parent f00b0680
......@@ -8,7 +8,20 @@ fi
. $srcdir/functions.sh
set +e
LSHD_FLAGS="$LSHD_FLAGS --no-password --no-publickey --no-srp"
spawn_lshd || test_success
HOME="$TEST_HOME" ../lshd -h $HOSTKEY \
-p $PORT --interface=$INTERFACE $LSHD_FLAGS \
--pid-file $PIDFILE --daemon --no-syslog "$@"
excode=$?
# Failed, but without a signal?
if [ "$excode" -ne 0 -a "$excode" -lt 128 ]; then
test_success
fi
test_fail
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