| 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 |