From: robertl Date: Wed, 1 Jun 2011 00:50:52 +0000 (+0000) Subject: Make validation errors fatal in KML. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~11^2~889 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ea7e5e29965c7002853e48e9869bdb1053064c91;p=gpsbabel.git Make validation errors fatal in KML. --- diff --git a/gpsbabel/testo.d/kml.test b/gpsbabel/testo.d/kml.test index e90a5991e..219ec9f39 100644 --- a/gpsbabel/testo.d/kml.test +++ b/gpsbabel/testo.d/kml.test @@ -37,8 +37,8 @@ gpsbabel -i gpx -f ${REFERENCE}/track/bounds-test-track.gpx -o kml -F ${TMPDIR}/ compare ${REFERENCE}/track/bounds-test-track.kml ${TMPDIR}/bnds-track.kml - -if which xmllint; +set -e +if which xmllint > /dev/null; then KMLS=$(find ${REFERENCE} -name \*.kml) for f in $KMLS