3 # $Id: tests.sh,v 1.5 2004/09/04 14:22:38 alex Exp $
5 # detect source directory
6 [ -z "$srcdir" ] && srcdir=`dirname $0`
9 test=`echo ${name} | cut -d '.' -f 1`
12 type expect > /dev/null 2>&1
14 echo " ${name}: \"expect\" not found."; exit 77
16 type telnet > /dev/null 2>&1
18 echo " ${name}: \"telnet\" not found."; exit 77
21 echo " doing ${test} ..."
22 expect ${srcdir}/${test}.e > logs/${test}.log