OSDN Git Service

When running a test, the diff is always an ascii diff, not binary.
authorRob Landley <rob@landley.net>
Fri, 28 Nov 2014 22:52:06 +0000 (16:52 -0600)
committerRob Landley <rob@landley.net>
Fri, 28 Nov 2014 22:52:06 +0000 (16:52 -0600)
scripts/runtest.sh

index ce4dedf..8da1089 100644 (file)
@@ -95,7 +95,7 @@ testing()
     then
       [ ! -z "$4" ] && echo "echo -ne \"$4\" > input"
       echo "echo -ne '$5' | $2"
-      diff -u expected actual
+      diff -au expected actual
       [ "$VERBOSE" == fail ] && exit 1
     fi
   else