Debian Codegraph @

src/testsuite/lsh-7-test

raw
1 #! /bin/sh
2
3 # Checks that connection fails if we don't have an known_hosts file
4 echo lsh, test 7
5
6 if [ -z "$srcdir" ] ; then
7 srcdir=`pwd`
8 fi
9
10 . $srcdir/functions.sh
11
12 spawn_lshd && \
13 if HOME="$TEST_HOME" ../lsh -nt --host-db=/dev/null $LSH_FLAGS -p $PORT localhost true ; then
14 test_fail
15 else
16 test_success
17 fi
18
19 test_done