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 28 29 30 31 32 33 34
|
#!/bin/sh
#$Id: run-multi,v 1.4 2006/04/05 00:09:25 rockyb Exp $
# Reinstate brkpt3 when BASH_COMMAND works again.
# exit 77
if test -z "$srcdir" ; then
srcdir=`pwd`
fi
if test -z "$builddir" ; then
builddir=`pwd`
fi
. ${builddir}/check_common
for SUBTEST in multi1 multi2 multi3 multi4 ; do
TEST_FILE="${builddir}/${SUBTEST}.check"
(cd $srcdir && ${THIS_SH} ${SUBTEST}.tests > $TEST_FILE 2>&1 < /dev/null)
check_output $TEST_FILE ${srcdir}/${SUBTEST}.right
rc=$?
if test "$rc" -eq 0 ; then
exit $rc
fi
done
# Return code tells testing mechanism whether passed or not.
exit 0
#;;; Local Variables: ***
#;;; mode:shell-script ***
#;;; eval: (sh-set-shell "bash") ***
#;;; End: ***
|