]> arthur.barton.de Git - ngircd-alex.git/blob - src/testsuite/tests.sh
4678654986c4784f5eb758734c5db068319b9475
[ngircd-alex.git] / src / testsuite / tests.sh
1 #!/bin/sh
2 # ngIRCd Test Suite
3 # $Id: tests.sh,v 1.1 2002/09/09 10:16:24 alex Exp $
4
5 name=`basename $0`
6 test=`echo ${name} | cut -d '.' -f 1`
7
8 type expect > /dev/null 2>&1
9 if [ $? -ne 0 ]; then
10   echo "SKIP: ${name} -- \"expect\" not found.";  exit 77
11 fi
12
13 echo "      doing ${test} ..."
14 expect ${test}.e > ${test}.log
15
16 # -eof-