From c6025cdd2a1d7d5ffe73eed6e44a61d68203ce00 Mon Sep 17 00:00:00 2001 From: brad Date: Fri, 3 Dec 2004 00:10:17 +0000 Subject: [PATCH] added --strip-trailing-cr for running test cases on win32 --- test/addmoddel.sh | 4 ++-- test/write-test.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/addmoddel.sh b/test/addmoddel.sh index 7f9188fd..1133a268 100755 --- a/test/addmoddel.sh +++ b/test/addmoddel.sh @@ -10,10 +10,10 @@ $binpath/addmoddel exiv2-empty.jpg $binpath/exiv2 -pv exiv2-empty.jpg ) > $results -diff -q $results $good +diff -q --strip-trailing-cr $results $good rc=$? if [ $rc -eq 0 ] ; then echo "All testcases passed." else - diff $results $good + diff --strip-trailing-cr $results $good fi diff --git a/test/write-test.sh b/test/write-test.sh index c2f84c79..4f6f5716 100755 --- a/test/write-test.sh +++ b/test/write-test.sh @@ -59,10 +59,10 @@ runTestCase 11 $datapath/exiv2-nikon-d70.jpg ) > tmp/write-test.out 2>&1 -diff -q tmp/write-test.out data/write-test.out +diff -q --strip-trailing-cr tmp/write-test.out data/write-test.out rc=$? if [ $rc -eq 0 ] ; then echo "All testcases passed." else - diff tmp/write-test.out data/write-test.out + diff --strip-trailing-cr tmp/write-test.out data/write-test.out fi