Update of /cvsroot/libexif/libexif-testsuite/tests
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv13113/tests
Modified Files:
check-general-images.in
Log Message:
Verify that tag has been removed.
Index: check-general-images.in
===================================================================
RCS file: /cvsroot/libexif/libexif-testsuite/tests/check-general-images.in,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -d -r1.4 -r1.5
--- check-general-images.in 29 Jan 2008 04:29:48 -0000 1.4
+++ check-general-images.in 30 Jan 2008 04:14:52 -0000 1.5
@@ -86,6 +86,19 @@ do
fi
total=$(expr $total + 1)
+ # Check that the tag is removed
+ echo -n "Listing tag from \`${tmpimg}'..."
+ "$EXIFEXE" --tag=DateTime "${tmpimg}" > "$tmpfile" 2>&1
+ s="$?"
+ if test "$s" -eq 1; then
+ echo " ok."
+ else
+ echo " FAILED (${s})."
+ errors=$(expr $errors + 1)
+ cat "$tmpfile"
+ fi
+ total=$(expr $total + 1)
+
# Check that listing EXIF info still works
echo -n "Listing EXIF info from \`${tmpimg}'..."
"$EXIFEXE" "${tmpimg}" > "$tmpfile" 2>&1
|