1#!/bin/sh 2# $FreeBSD$ 3 4cd `dirname $0` 5cmd="./`basename $0 .t`" 6 7make >/dev/null 2>&1 8 9tests="test-empty test-nonexist test-nonexistshell \ 10 test-devnullscript test-badinterplen test-goodscript \ 11 test-scriptarg test-scriptarg-nospace test-goodaout \ 12 test-truncaout test-sparseaout" 13 14n=0 15 16echo "1..11" 17 18for atest in ${tests} 19do 20 n=`expr ${n} + 1` 21 if make ${atest} 22 then 23 echo "ok ${n} - ${atest}" 24 else 25 echo "not ok ${n} - ${atest}" 26 fi 27done 28