Commit 55e42d47 authored by Niels Möller's avatar Niels Möller

* src/testsuite/lsh-7-test: New test, verifying that connecting,

without a proper entry in known_hosts, fails.

* src/testsuite/Makefile.am (TS_MORE_PROGS): Added lsh-7-test.

Rev: src/testsuite/Makefile.am:1.34
Rev: src/testsuite/lsh-7-test:1.1
parent a0a2535d
......@@ -12,8 +12,10 @@ TS_SH = conv-1-test conv-2-test export-1-test keygen-1-test keygen-2-test \
TS_SOME = $(TS_PROGS) $(TS_SH)
# Tests that require that lsh is set up for password-less login.
TS_MORE_SH = lsh-1-test lsh-2-test lsh-3-test lsh-4-test lsh-5-test lsh-6-test \
lsh-cat-test lshg-cat-test lshg-cat-2-test tcpip-local-test tcpip-remote-test \
TS_MORE_SH = lsh-1-test lsh-2-test lsh-3-test lsh-4-test \
lsh-5-test lsh-6-test lsh-7-test \
lsh-cat-test lshg-cat-test lshg-cat-2-test \
tcpip-local-test tcpip-remote-test \
lshg-tcpip-local-test ssh1-fallback-test
TS_MORE_PROGS =
......
#! /bin/sh
# Checks that connection fails if we don't have an known_hosts file
echo lsh, test 7
if [ -z "$srcdir" ] ; then
srcdir=`pwd`
fi
. $srcdir/functions.sh
spawn_lshd && ! ../lsh -nt --host-db=/dev/null $LSH_FLAGS -p $PORT localhost true \
&& test_success
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