about summary refs log tree commit diff
path: root/src/testsuite/tests.sh
blob: 4678654986c4784f5eb758734c5db068319b9475 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# ngIRCd Test Suite
# $Id: tests.sh,v 1.1 2002/09/09 10:16:24 alex Exp $

name=`basename $0`
test=`echo ${name} | cut -d '.' -f 1`

type expect > /dev/null 2>&1
if [ $? -ne 0 ]; then
  echo "SKIP: ${name} -- \"expect\" not found.";  exit 77
fi

echo "      doing ${test} ..."
expect ${test}.e > ${test}.log

# -eof-