Fix in exiv2-test.sh for Cygwin

v0.27.3
Robin Mills 7 years ago committed by Luis Díaz Más
parent b6a8d39613
commit 90305cee1e

@ -2,6 +2,7 @@
# Test driver for exiv2 utility tests # Test driver for exiv2 utility tests
source ./functions.source source ./functions.source
diffargs="-w --text $diffargs"
( cd "$testdir" ( cd "$testdir"
@ -88,7 +89,7 @@ source ./functions.source
runTest exiv2 -u -v -b -pt print $image3 > jjj runTest exiv2 -u -v -b -pt print $image3 > jjj
echo echo
echo "Compare image data and extracted data ------------------------------------" echo "Compare image data and extracted data ------------------------------------"
diff iii jjj diff $diffargs iii jjj
echo echo
echo "Delete Thumbnail ---------------------------------------------------------" echo "Delete Thumbnail ---------------------------------------------------------"
runTest exiv2 -u -v -dt delete $image2 runTest exiv2 -u -v -dt delete $image2
@ -103,12 +104,11 @@ source ./functions.source
runTest exiv2 -u -v -b -pt print $image3 > kkk runTest exiv2 -u -v -b -pt print $image3 > kkk
echo echo
echo "Compare original and inserted image data ---------------------------------" echo "Compare original and inserted image data ---------------------------------"
diff iii kkk diff $diffargs iii kkk
) > $results 2>&1 ) > $results 2>&1
diffargs="-w $diffargs"
reportTest reportTest
# That's all Folks! # That's all Folks!
## ##

Loading…
Cancel
Save