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

* src/testsuite/tcpip-local-test: Don't pass -r to tcpconnect.

grep the output from tcpconnect.
* src/testsuite/tcpip-remote-test: Likewise.

Rev: src/testsuite/tcpip-local-test:1.4
Rev: src/testsuite/tcpip-remote-test:1.3
parent 06d580de
......@@ -18,8 +18,7 @@ PROXYPORT=`expr $PORT + 2`
at_connect $SERVERPORT 1 'echo foo' \
&& spawn_lshd \
&& spawn_lsh -L $PROXYPORT:localhost:$SERVERPORT \
&& sleep 30; tcpconnect -r </dev/null localhost $PROXYPORT \
&& sleep 30 \
&& tcpconnect </dev/null localhost $PROXYPORT | grep foo \
&& test_success
......@@ -18,7 +18,8 @@ PROXYPORT=`expr $PORT + 2`
at_connect $SERVERPORT 1 'echo foo' \
&& spawn_lshd \
&& spawn_lsh -R $PROXYPORT:localhost:$SERVERPORT \
&& sleep 30; tcpconnect -r </dev/null localhost $PROXYPORT \
&& sleep 30 \
&& tcpconnect </dev/null localhost $PROXYPORT | grep foo \
&& test_success
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