Add NOSPACE=1 to allow tests to pass with diff -b
diff --git a/scripts/runtest.sh b/scripts/runtest.sh
index 875ce57..13b82f1 100644
--- a/scripts/runtest.sh
+++ b/scripts/runtest.sh
@@ -90,8 +90,8 @@
   [ $RETVAL -gt 128 ] && [ $RETVAL -lt 255 ] &&
     echo "exited with signal (or returned $RETVAL)" >> actual
  
-  cmp expected actual > /dev/null 2>&1
-  if [ $? -ne 0 ]
+  DIFF="$(diff -au${NOSPACE:+b} expected actual)"
+  if [ ! -z "$DIFF" ]
   then
     FAILCOUNT=$[$FAILCOUNT+1]
     echo "$SHOWFAIL: $NAME"
@@ -99,7 +99,7 @@
     then
       [ ! -z "$4" ] && echo "echo -ne \"$4\" > input"
       echo "echo -ne '$5' |$EVAL $2"
-      diff -au expected actual
+      echo "$DIFF"
       [ "$VERBOSE" == fail ] && exit 1
     fi
   else