1159097Smaxim#!/bin/sh 2159097Smaxim# $FreeBSD$ 3159097Smaxim 4159097Smaximcd `dirname $0` 5159097Smaximcmd="./`basename $0 .t`" 6159097Smaxim 7159097Smaximmake >/dev/null 2>&1 8159097Smaxim 9159097Smaximtests="test-empty test-nonexist test-nonexistshell \ 10159097Smaxim test-devnullscript test-badinterplen test-goodscript \ 11159097Smaxim test-scriptarg test-scriptarg-nospace test-goodaout \ 12163153Smaxim test-truncaout test-sparseaout" 13159097Smaxim 14159097Smaximn=0 15159097Smaxim 16163150Smaximecho "1..11" 17159097Smaxim 18159097Smaximfor atest in ${tests} 19159097Smaximdo 20159097Smaxim n=`expr ${n} + 1` 21159097Smaxim if make ${atest} 22159097Smaxim then 23159097Smaxim echo "ok ${n} - ${atest}" 24159097Smaxim else 25159097Smaxim echo "not ok ${n} - ${atest}" 26159097Smaxim fi 27159097Smaximdone 28