]> diplodocus.org Git - nmh/commitdiff
Added temporary diagnostic printout.
authorDavid Levine <levinedl@acm.org>
Thu, 22 Sep 2016 17:39:42 +0000 (13:39 -0400)
committerDavid Levine <levinedl@acm.org>
Thu, 22 Sep 2016 17:39:42 +0000 (13:39 -0400)
test/common.sh.in

index b2c7a7d..91d3b06 100644 (file)
@@ -225,7 +225,11 @@ check() {
     else
         echo
         #### POSIX diff should support -c.
-        diff -c "$first" "$second" || true
+#        diff -c "$first" "$second" || true
+        if ! diff -c "$first" "$second"; then
+            echo "$first:"; od -t ax "$first"
+            echo "$second:"; od -t ax "$second"
+        fi
         echo
         echo "$0: $label failed, outputs are in $first and $second."
         failed=`expr ${failed:-0} + 1`