diff --git a/test/asm/test.sh b/test/asm/test.sh index 5dcfff73..c399a3d7 100755 --- a/test/asm/test.sh +++ b/test/asm/test.sh @@ -48,7 +48,7 @@ for i in *.asm; do dd if=$gb count=1 bs=$(printf %s $(wc -c < $bin)) > $output 2>/dev/null hexdump -C $output > $input && mv $input $output hexdump -C $bin > $input - diff -u --strip-trailing-cr $input $output + cmp $input $output our_rc=$(($? || $our_rc)) fi diff --git a/test/link/test.sh b/test/link/test.sh index 3b696675..050900e8 100755 --- a/test/link/test.sh +++ b/test/link/test.sh @@ -54,7 +54,7 @@ for i in *.asm; do bin=${i%.asm}.out.bin if [ -f $bin ]; then dd if=$gbtemp count=1 bs=$(printf %s $(wc -c < $bin)) > $otemp 2>/dev/null - diff --strip-trailing-cr $bin $otemp + cmp $bin $otemp rc=$(($? || $rc)) fi done