Commit 75834ea0 authored by Niels Möller's avatar Niels Möller

* src/testsuite/functions.sh (spawn_lshd): Pass arguments to lshd.

(exec_lshg): New function.

Rev: src/testsuite/functions.sh:1.10
parent cb52cf97
......@@ -53,7 +53,7 @@ spawn_lshd () {
# local delay
../lshd -h $HOSTKEY --interface=localhost \
-p $PORT $SERVERFLAGS --pid-file lshd.$$.pid &
-p $PORT $SERVERFLAGS --pid-file lshd.$$.pid "$@" &
# lshd may catch the ordinary TERM signal, leading to timing
# problems when the next lshd process tries to bind the port.
......@@ -94,6 +94,10 @@ spawn_lsh () {
at_exit "kill $!"
}
exec_lshg () {
../lshg $CLIENTFLAGS -nt -p $PORT localhost "$@"
}
spawn_lshg () {
# echo spawn_lshg "$@"
../lshg $CLIENTFLAGS -p $PORT "$@" -N localhost &
......
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