blob: dafb52c7a46e32bea8092607731fd98a5cf71e2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/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 \
test-truncaout test-sparceaout"
n=0
echo "1..11"
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
|