2 # Parses test EXIF files and compares the results to that expected
5 trap 'rm -f "${TMPLOG}"' 0
6 # Ensure that names are untranslated
10 export LANG LANGUAGE LC_ALL
11 for fn in "${srcdir}"/testdata/*.jpg ; do
12 ./test-parse "${fn}" > "${TMPLOG}"
13 if ! diff "${fn}".parsed "${TMPLOG}"; then
14 echo Error parsing "$fn"