Current Path : /usr/src/tools/regression/usr.bin/m4/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/src/tools/regression/usr.bin/m4/regress.sh |
# $FreeBSD: release/9.1.0/tools/regression/usr.bin/m4/regress.sh 137587 2004-11-11 19:47:55Z nik $ # Go into the regression test directory, handed to us by make(1) TESTDIR=$1 if [ -z "$TESTDIR" ]; then TESTDIR=. fi cd $TESTDIR STATUS=0 echo 1..2 for test in GNU/changecom changecom; do case "$test" in GNU/*) M4="m4 -g" GNU="g" test=`basename $test` ;; *) M4="m4" GNU="" ;; esac case "$test" in changecom) $M4 < regress.$test.in | diff -u regress.$GNU$test.out - ;; esac if [ $? -eq 0 ]; then echo "ok - $test # Test detected no regression, output matches." else STATUS=$? echo "not ok - $test # Test failed: regression detected. See above." fi done exit $STATUS REGRESSION_END()