]> git.street.me.uk Git - andy/viking.git/blame - test/check_gpx.sh
Simple test for basic GPX read->write conformance.
[andy/viking.git] / test / check_gpx.sh
CommitLineData
0b45bf20
RN
1#!/bin/sh
2
3# Enable running in test directory or via make distcheck when $srcdir is defined
4if [ -z "$srcdir" ]; then
5 srcdir=.
6fi
7
8result=$(./gpx2gpx < $srcdir/SF#022.gpx | diff $srcdir/SF#022.gpx -)
9if [ $? != 0 ]; then
10 echo "gpx2gpx failure"
11 exit 1
12fi