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

* src/testsuite/lshg-1-test: New test program.

Rev: src/testsuite/lshg-1-test:1.1
parent 169ce8a2
#! /bin/sh
# Tests connecting with lsh. In order to use this, you must already
# have lsh set up so that you can login without password.
# This restriction can be fixed if we add an option to lshd to use a
# custom passwd-file.
echo lshg test 1
if [ -z "$srcdir" ] ; then
srcdir=`pwd`
fi
. $srcdir/functions.sh
spawn_lshd && spawn_lsh -G && sleep 20 && \
echo foo | exec_lshg cat | grep -q foo && 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