2006-05-31 11:13:10 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
cd `dirname $0`
|
|
|
|
cmd="./`basename $0 .t`"
|
|
|
|
|
|
|
|
make >/dev/null 2>&1
|
|
|
|
|
|
|
|
tests="test-empty test-nonexist test-nonexistshell \
|
|
|
|
test-devnullscript test-badinterplen test-goodscript \
|
|
|
|
test-scriptarg test-scriptarg-nospace test-goodaout \
|
2006-10-09 06:47:08 +00:00
|
|
|
test-truncaout test-sparseaout"
|
2006-05-31 11:13:10 +00:00
|
|
|
|
|
|
|
n=0
|
|
|
|
|
2006-10-09 05:31:37 +00:00
|
|
|
echo "1..11"
|
2006-05-31 11:13:10 +00:00
|
|
|
|
|
|
|
for atest in ${tests}
|
|
|
|
do
|
|
|
|
n=`expr ${n} + 1`
|
|
|
|
if make ${atest}
|
|
|
|
then
|
|
|
|
echo "ok ${n} - ${atest}"
|
|
|
|
else
|
|
|
|
echo "not ok ${n} - ${atest}"
|
|
|
|
fi
|
|
|
|
done
|