Simplification of test/geotag-test.sh

v0.27.3
Robin Mills 5 years ago
parent b354ad8b2a
commit 352c94b6f2

@ -3,11 +3,7 @@
source ./functions.source source ./functions.source
( cd "$testdir" ( jpg=FurnaceCreekInn.jpg
printf "geotag" >&3
jpg=FurnaceCreekInn.jpg
gpx=FurnaceCreekInn.gpx gpx=FurnaceCreekInn.gpx
copyTestFiles $jpg $gpx copyTestFiles $jpg $gpx
@ -21,8 +17,7 @@ source ./functions.source
runTest geotag -ascii -tz -8:00 $jpg $gpx | cut -d' ' -f 2- runTest geotag -ascii -tz -8:00 $jpg $gpx | cut -d' ' -f 2-
echo --- show GPSInfo tags --- echo --- show GPSInfo tags ---
runTest exiv2 -pa --grep GPSInfo $jpg runTest exiv2 -pa --grep GPSInfo $jpg
) > $results 2>&1
) 3>&1 > $results 2>&1
reportTest reportTest

Loading…
Cancel
Save