exiv2/test/exifdata-test.sh
2020-04-15 16:53:03 +01:00

18 lines
443 B
Bash
Executable File

#!/usr/bin/env bash
# Test driver for exifdata copy construction and assignment unit tests
source ./functions.source
( cd "$testdir"
copyTestFiles exiv2-gc.jpg exiv2-canon-powershot-s40.jpg exiv2-nikon-d70.jpg
runTest exifdata-test exiv2-gc.jpg
runTest exifdata-test exiv2-canon-powershot-s40.jpg
runTest exifdata-test exiv2-nikon-d70.jpg
) | tr -d '\r' | sed 's/[ \t]+$//' > $results
reportTest
# That's all Folks!
##