* syntax: Run a diff when there's no expected output, too.
authorBen Pfaff <blp@gnu.org>
Sat, 13 Dec 2003 08:13:10 +0000 (08:13 +0000)
committerBen Pfaff <blp@gnu.org>
Sat, 13 Dec 2003 08:13:10 +0000 (08:13 +0000)
tests/ChangeLog
tests/syntax

index 5ae181d93f059fb8d260c08a63da56201ecbc76a..0545202ee991944ea95c451d341d741733a1a6f1 100644 (file)
@@ -1,3 +1,7 @@
+Sat Dec 13 00:08:23 2003  Ben Pfaff  <blp@gnu.org>
+
+       * syntax: Run a diff when there's no expected output, too.
+
 Fri Jan  7 20:30:23 2000  Ben Pfaff  <blp@gnu.org>
 
        * data-fmts.stat: Add more date tests.
index 3f2ced76aed8d59265e37ab7e84e920199eaca7e..023b6c312325aa8c516bec2b07b799c971abf758 100755 (executable)
@@ -23,6 +23,7 @@ if [ -z "$BENCHMARK" ]; then
        else
            if [ -s $x.actual ]; then 
                echo "FAIL"; RESULT=fail
+               diff -u /dev/null $x.actual || true
            else 
                echo "pass"; rm $x.actual
            fi