added --strip-trailing-cr for running test cases on win32

v0.27.3
brad 21 years ago
parent a03e5d724d
commit c6025cdd2a

@ -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

@ -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

Loading…
Cancel
Save