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

* src/testsuite/functions.sh: New variable HOSTKEY for configuring

which hostkey to use.

Rev: src/testsuite/functions.sh:1.6
parent 50922be4
......@@ -12,6 +12,14 @@ if [ -z "$CLIENTFLAGS" ] ; then
CLIENTFLAGS=-q
fi
if [ -z "$HOSTKEY" ] ; then
HOSTKEY=$srcdir/key-1.private
fi
# if [ -z "$USERKEY" ] ; then
# USERKEY=$srcdir/key-1.private
# fi
# Any error count as failure.
set -e
......@@ -44,7 +52,7 @@ spawn_lshd () {
# local is not available in /bin/sh
# local delay
../lshd -h $srcdir/key-1.private --interface=localhost \
../lshd -h $HOSTKEY --interface=localhost \
-p $PORT $SERVERFLAGS --pid-file lshd.$$.pid &
at_exit 'kill `cat lshd.$$.pid`; rm -f lshd.$$.pid'
......
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