]> granicus.if.org Git - yasm/commitdiff
Fix #177: Make check fails on CR/LF systems.
authorPeter Johnson <peter@tortall.net>
Sat, 18 Jul 2009 02:33:10 +0000 (02:33 -0000)
committerPeter Johnson <peter@tortall.net>
Sat, 18 Jul 2009 02:33:10 +0000 (02:33 -0000)
The diff on the hexdump output was not using -w.

svn path=/trunk/yasm/; revision=2204

modules/objfmts/bin/tests/multisect/bin_multi_test.sh
out_test.sh

index 1c0f762874a14df667abe197a9e3018c79a9c6b4..1c42dabea966d4b505e76d13cb2ec35535cffde0 100755 (executable)
@@ -72,7 +72,7 @@ do
             failedct=`expr $failedct + 1`
         else
             ./test_hd results/${o} > results/${oh}
-            if diff ${og} results/${oh} >/dev/null; then
+            if diff -w ${og} results/${oh} >/dev/null; then
                 if diff -w ${eg} results/${e} >/dev/null; then
                     if diff -w ${mg} results/${m} >/dev/null; then
                         # All match, it passes!
index a0eb8be4206c3287992caf9f515a05ffb4a0faee..93acbfba04769107c1518cef8a394e7abac0083d 100755 (executable)
@@ -70,7 +70,7 @@ do
             failedct=`expr $failedct + 1`
         else
             ./test_hd results/${o} > results/${oh}
-            if diff ${og} results/${oh} >/dev/null; then
+            if diff -w ${og} results/${oh} >/dev/null; then
                 if diff -w ${eg} results/${e} >/dev/null; then
                     # Both object file and error/warnings match, it passes!
                     echo $ECHO_N ".$ECHO_C"