File: test024.param

package info (click to toggle)
gpscorrelate 2.3-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,996 kB
  • sloc: ansic: 3,074; cpp: 499; makefile: 481; sh: 129
file content (12 lines) | stat: -rw-r--r-- 651 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
TITLE='Read an empty GPX file'
PRECOMMAND='cat "$STAGINGDIR/point1-1.jpg" >"$LOGDIR/test.jpg"'
COMMAND='$PROGRAM -g /dev/null "$LOGDIR/test.jpg" 2> "$OUTFILE" > /dev/null'
POSTCOMMAND='rm -f "$LOGDIR/test.jpg"'
RESULTCODE=1
# libxml2 versions 2.9.1 and below have slightly different diagnostic output
# that causes this test to fail
# libxml2 versions 2.9.4 (at least) adds some unuseful diagnostic lines
# beginning with ^ that are removed here
# libxml2 version 2.7.7 adds an extra Start tag expected message
# Windows targets use nul instead of /dev/null, so canonicalize on the former
SEDCOMMAND='/(^\^?$)|(Start tag expected)/d;s@/dev/null@nul@'