Pass -b option to diff to avoid spurious failure of
authorBen Pfaff <blp@gnu.org>
Sat, 10 Nov 2007 21:28:04 +0000 (21:28 +0000)
committerBen Pfaff <blp@gnu.org>
Sat, 10 Nov 2007 21:28:04 +0000 (21:28 +0000)
tests/bugs/compression.sh on od.

tests/ChangeLog
tests/bugs/compression.sh

index eeee122e034dceb618714e89ea3ce52ea23b540c..aa1d9e1dae48c89f818f0700beced924a6d2af67 100644 (file)
@@ -1,3 +1,8 @@
+2007-11-10  Ben Pfaff  <blp@gnu.org>
+
+       * bugs/compression.sh: Pass -b option to diff to avoid spurious
+       failure on od.
+
 2007-11-08  Ben Pfaff  <blp@gnu.org>
 
        Patch #6256: add support for binary, 360 file formats.  Reviewed
index 138b6ca5c3d54051f747ecd4e80646a44bbe472b..6556406411d238f3614ee8e5a844c957f3937b34 100755 (executable)
@@ -81,7 +81,7 @@ dd if=$TEMPDIR/com.sav bs=1 skip=72 count=1 2> /dev/null | od > $TEMPDIR/file
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="check compression byte"
-diff $TEMPDIR/file - <<EOF
+diff -b $TEMPDIR/file - <<EOF
 0000000 000001
 0000001
 EOF