From: Ben Pfaff Date: Sat, 5 Nov 2005 03:34:21 +0000 (+0000) Subject: Improve recode-copy-bug failure reporting. X-Git-Tag: v0.6.0~1147 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e95aab514deab327569387155686f563782d99ea;p=pspp-builds.git Improve recode-copy-bug failure reporting. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 67610b89..209f899c 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +Fri Nov 4 19:30:34 2005 Ben Pfaff + + * command/recode-bug.sh: Improve failure reports. + Wed Nov 2 21:54:11 2005 Ben Pfaff * command/loop.sh: Update expected error messages. diff --git a/tests/bugs/recode-copy-bug.sh b/tests/bugs/recode-copy-bug.sh index aec41a1d..921be02c 100755 --- a/tests/bugs/recode-copy-bug.sh +++ b/tests/bugs/recode-copy-bug.sh @@ -59,23 +59,23 @@ cd $TEMPDIR if [ $? -ne 0 ] ; then no_result ; fi -activity="run program" +activity="run program 1" $SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/recode-copy-bug-1.stat if [ $? -ne 0 ] ; then no_result ; fi -activity="compare output" +activity="compare output 1" perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list $top_srcdir/tests/bugs/recode-copy-bug-1.out diff -b -w $TEMPDIR/pspp.list $top_srcdir/tests/bugs/recode-copy-bug-1.out if [ $? -ne 0 ] ; then fail ; fi -activity="run program" +activity="run program 2" $SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/recode-copy-bug-2.stat if [ $? -ne 0 ] ; then no_result ; fi -activity="compare output" +activity="compare output 2" perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list $top_srcdir/tests/bugs/recode-copy-bug-2.out diff -b -w $TEMPDIR/pspp.list $top_srcdir/tests/bugs/recode-copy-bug-2.out if [ $? -ne 0 ] ; then fail ; fi