]> git.street.me.uk Git - andy/viking.git/blob - test/check_gpx.sh
Some spelling fixes in a comment
[andy/viking.git] / test / check_gpx.sh
1 #!/bin/sh
2
3 # Enable running in test directory or via make distcheck when $srcdir is defined
4 if [ -z "$srcdir" ]; then
5   srcdir=.
6 fi
7
8 result=$(./gpx2gpx < $srcdir/SF#022.gpx | diff $srcdir/SF#022.gpx -)
9 if [ $? != 0 ]; then
10   echo "gpx2gpx failure"
11   exit 1
12 fi