17 lines
217 B
Bash
Raw Normal View History

#!/bin/sh
# $FreeBSD$
# find all test scripts below our current directory
SCRIPTS=`find . -name test.t`
if [ -z "${SCRIPTS}" ] ; then
exit 0
fi
for i in ${SCRIPTS} ; do
(
cd `dirname $i`
sh ./test.t $1
)
done