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
|
#!/bin/sh
#$Id: run-settrace,v 1.1 2006/07/16 22:05:09 rockyb Exp $
if test -z "$srcdir" ; then
srcdir=`pwd`
fi
if test -z "$builddir" ; then
builddir=`pwd`
fi
. ${builddir}/check_common
TEST_NAME='settrace'
TEST_FILE="$builddir/${TEST_NAME}.check"
(cd $srcdir && ${THIS_SH} ${TEST_NAME}.tests > $TEST_FILE 2>&1 < /dev/null)
check_output $TEST_FILE ${srcdir}/${TEST_NAME}.right
# Return code tells testing mechanism whether passed or not.
exit $?
#;;; Local Variables: ***
#;;; mode:shell-script ***
#;;; eval: (sh-set-shell "bash") ***
#;;; End: ***
|