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

* src/testsuite/lshg-1-test: Use --start-gateway. Don't use

need_lshg.
* src/testsuite/lshg-cat-2-test: Likewise.
* src/testsuite/lshg-cat-test: Likewise.
* src/testsuite/lshg-tcpip-local-test: Likewise.

Rev: src/testsuite/lshg-1-test:1.5.2.2
Rev: src/testsuite/lshg-cat-2-test:1.5.2.3
Rev: src/testsuite/lshg-cat-test:1.5.2.3
Rev: src/testsuite/lshg-tcpip-local-test:1.5.2.2
parent 0a6b4233
......@@ -8,9 +8,8 @@ fi
. $srcdir/functions.sh
need_lshg
spawn_lshd && spawn_lsh -G && \
echo foo | exec_lshg cat | grep foo > /dev/null && test_success
spawn_lshd && spawn_lsh --start-gateway \
&& echo foo | exec_lshg cat | grep foo > /dev/null \
&& test_success
test_done
......@@ -6,13 +6,12 @@ fi
. $srcdir/functions.sh
need_lshg
echo lshg, cat 2 test
rm -f test.out1
spawn_lshd && spawn_lsh -G && cat ../lshd | exec_lshg cat ">" "`pwd`/test.out1"
spawn_lshd && spawn_lsh --start-gateway \
&& cat ../lshd | exec_lshg cat ">" "`pwd`/test.out1"
cat ../lshd > test.out2
compare_output "lshg-cat-2-test"
......@@ -6,13 +6,12 @@ fi
. $srcdir/functions.sh
need_lshg
echo lshg, cat test
rm -f test.out1
spawn_lshd && spawn_lsh -G && exec_lshg "cat `pwd`/../lshd" > test.out1
spawn_lshd && spawn_lsh --start-gateway \
&& exec_lshg "cat `pwd`/../lshd" > test.out1
cat ../lshd > test.out2
compare_output "lsh-cat-test"
......@@ -7,14 +7,13 @@ fi
. $srcdir/functions.sh
need_tcputils
need_lshg
SERVERPORT=`expr $PORT + 1`
PROXYPORT=`expr $PORT + 2`
at_connect $SERVERPORT 1 'echo foo' \
&& spawn_lshd \
&& spawn_lsh -G \
&& spawn_lsh --start-gateway \
&& spawn_lshg -L $PROXYPORT:localhost:$SERVERPORT \
&& tcpconnect -r </dev/null localhost $PROXYPORT | grep foo \
&& test_success
......
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