From 3c896e7e80d6cea9f6b0d1a62fa14df0a1dc86af Mon Sep 17 00:00:00 2001 From: Robin Mills Date: Thu, 7 Jan 2016 21:48:20 +0000 Subject: [PATCH] #1074 Correction to r4169. Use cksum (better than wc) to test extracted profile correctness. wc is platform dependant. --- test/bugfixes-test.sh | 6 +++--- test/data/bugfixes-test.out | Bin 1849484 -> 1849493 bytes 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/bugfixes-test.sh b/test/bugfixes-test.sh index e101d3d6..36a73ef7 100755 --- a/test/bugfixes-test.sh +++ b/test/bugfixes-test.sh @@ -419,9 +419,9 @@ source ./functions.source printf "$num " >&3 echo '------>' Bug $num '<-------' >&2 copyTestFile imagemagick.png $filename - runTest exiv2 -pC $filename | wc | sed -E 's/ +/ /g' - runTest exiv2 -pC http://dev.exiv2.org/attachments/download/821/Reagan.tiff | wc | sed -E 's/ +/ /g' - runTest exiv2 -pC http://dev.exiv2.org/attachments/download/820/Reagan.jpg | wc | sed -E 's/ +/ /g' + runTest exiv2 -pC $filename | cksum + runTest exiv2 -pC http://dev.exiv2.org/attachments/download/821/Reagan.tiff | cksum + runTest exiv2 -pC http://dev.exiv2.org/attachments/download/820/Reagan.jpg | cksum num=1112 filename=exiv2-bug$num.xmp diff --git a/test/data/bugfixes-test.out b/test/data/bugfixes-test.out index 2613b74f3209d1714dc8e30e8bf63ed94523ba9c..a0470a637159cc689096d00249c7c0fecc21a862 100644 GIT binary patch delta 114 zcmeDASTOZtK|>2;3sVbo3rh=Y3tJ0&3r7oQ3s(zw3r`Dg3ttO=i$IHDi%^Sji%5%T zi&%?zi$sfLi&TsB7MXrIEh7_SBV%K8Lo;IqQ&USbE+Zoob0aeoLjy|%V?z@YB>wgd Iax!-$0rnXn3;+NC delta 105 zcmbRGv7qN;K|>2;3sVbo3rh=Y3tJ0&3r7oQ3s(zw3r`Dg3ttO=i$IHDi%^Sji%5%T zi&%?zi$sfLi&TsB7MXrIMFk@x1w#`{1yfT?GcE-~GX+CqBL!na6B8I``%XETJCXp} CdmX$0