From: Dan F. <dfa...@us...> - 2009-11-13 07:54:26
|
Update of /cvsroot/libexif/libexif-testsuite/tests In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23622/tests Modified Files: check-readwrite-identity.sh Log Message: Add --width option to allow more text to be compared Index: check-readwrite-identity.sh =================================================================== RCS file: /cvsroot/libexif/libexif-testsuite/tests/check-readwrite-identity.sh,v retrieving revision 1.2 retrieving revision 1.3 diff -u -p -d -r1.2 -r1.3 --- check-readwrite-identity.sh 14 Oct 2009 06:50:56 -0000 1.2 +++ check-readwrite-identity.sh 13 Nov 2009 07:54:13 -0000 1.3 @@ -62,15 +62,18 @@ do # Listing original EXIF info echo -n "Listing EXIF info..." # Run this in the C language locale so the messages are known - env LANG=C LANGUAGE=C "$EXIFEXE" "$@" --ids "${img}" > "$tmpfile" 2>&1 + env LANG=C LANGUAGE=C "$EXIFEXE" "$@" --ids --width 999 "${img}" > "$tmpfile" 2>&1 check_result # Listing copied EXIF info echo -n "Listing EXIF info..." # Run this in the C language locale so the messages are known - env LANG=C LANGUAGE=C "$EXIFEXE" "$@" --ids "${tmpimg}" > "$tmpfile2" 2>&1 + env LANG=C LANGUAGE=C "$EXIFEXE" "$@" --ids --width 999 "${tmpimg}" > "$tmpfile2" 2>&1 check_result $tmpfile2 + # Compare the tag output of the original and copied files. + # A difference here could simply be due to the sort order, which + # could be due to the original EXIF file being corrupt. canonicalize "$tmpfile" canonicalize "$tmpfile2" echo -n "Comparing before and after..." @@ -80,13 +83,13 @@ do # Listing original MakerNote info echo -n "Listing MakerNote info..." # Run this in the C language locale so the messages are known - env LANG=C LANGUAGE=C "$EXIFEXE" "$@" --ids --show-mnote "${img}" > "$tmpfile" 2>&1 + env LANG=C LANGUAGE=C "$EXIFEXE" "$@" --ids --show-mnote --width 999 "${img}" > "$tmpfile" 2>&1 check_result # Listing copied MakerNote info echo -n "Listing MakerNote info..." # Run this in the C language locale so the messages are known - env LANG=C LANGUAGE=C "$EXIFEXE" "$@" --ids --show-mnote "${tmpimg}" > "$tmpfile2" 2>&1 + env LANG=C LANGUAGE=C "$EXIFEXE" "$@" --ids --show-mnote --width 999 "${tmpimg}" > "$tmpfile2" 2>&1 check_result $tmpfile2 canonicalize "$tmpfile" |