daemon-1-test 195 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh

if [ -z "$srcdir" ] ; then
  srcdir=`pwd`
fi

. $srcdir/functions.sh

exec 17>&2

spawn_lshd && exec_lsh "if echo foo >&17 ; then exit 1 ; else exit 0; fi" && test_success

test_done