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

Don't set srcdir here.

(spawn_lshd): Send messages to lshd.log.

Rev: src/testsuite/
parent d6f035d5
# Helper functions for the test scripts.
if [ -z "$srcdir" ] ; then
# echo srcdir = $srcdir
if [ -z "$LSHD_FLAGS" ] ; then
LSHD_FLAGS='-q --enable-core'
......@@ -65,8 +63,8 @@ spawn_lshd () {
# Note that --daemon not only forks into the background, it also changes
# the cwd, uses syslog, etc.
../lshd -h $HOSTKEY --interface=$INTERFACE \
-p $PORT $LSHD_FLAGS --pid-file $PIDFILE --daemon "$@"
../lshd -h $HOSTKEY --interface=$INTERFACE -p $PORT $LSHD_FLAGS \
--pid-file $PIDFILE --daemon --log-file="`pwd`/lshd.log" "$@"
# lshd may catch the ordinary TERM signal, leading to timing
# problems when the next lshd process tries to bind the port.
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