Commit 0a6b4233 authored by Niels Möller's avatar Niels Möller
Browse files

* src/testsuite/rapid7-lshd-test: Less verbosity.

* src/testsuite/rapid7-lsh-test: Likewise.

Rev: src/testsuite/rapid7-lsh-test:1.5.2.1
Rev: src/testsuite/rapid7-lshd-test:1.5.2.2
parent fbb2c863
......@@ -18,7 +18,7 @@ at_exit "kill $pid; rm -f current" 0
werror "Testing lsh"
for f in $srcdir/rapid7-ssh-pdu/*.pdu ; do
echo 1>&2 "Testing $f"
# werror "Testing $f"
rm -f current || die "Deleting symlink current failed"
ln -s $f current || die "Creating symlink current -> $f failed"
......@@ -33,7 +33,7 @@ for f in $srcdir/rapid7-ssh-pdu/*.pdu ; do
:
;;
*)
die "Strange exit code $status from client"
die "Strange exit code $status from client, test $f"
;;
esac
done
......
......@@ -15,11 +15,11 @@ werror "Testing lshd"
spawn_lshd
for f in $srcdir/rapid7-ssh-pdu/*.pdu ; do
werror "Testing $f"
# werror "Testing $f"
tcpconnect localhost $PORT < "$f" > /dev/null \
|| die "Connect failed"
|| die "Connect failed, test $f"
kill -0 `cat $PIDFILE` || die "Server died"
kill -0 `cat $PIDFILE` || die "Server died, test $f"
done
werror "Test done"
......
Supports Markdown
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