6 # ========== Executing run-tests.pl v0.00 ==========
7 # Testing conversion routines...
10 ok - txt_to_xml() with multiline string
11 ok - xml_to_txt("abc")
12 ok - xml_to_txt("<&>")
13 ok - xml_to_txt() with multiline string
14 ok - postgresql_copy_safe() with empty string
15 ok - postgresql_copy_safe("abcæøåÆØÅ")
16 ok - postgresql_copy_safe("abc\t'\r\n")
17 ok - postgresql_copy_safe() with multiline, nulls and stuff
18 # Testing date routines...
19 ok - sec_to_string() without separator
20 ok - sec_to_string() with separator
21 ok - sec_to_string(-5000) — negative numbers unsupported atm
22 ok - sec_to_string("")
23 ok - sec_to_string() with invalid string
24 ok - sec_to_string() with a bunch of leading zeros
25 ok - sec_to_string() with decimals
26 ok - sec_to_string() with decimals and prefixing zeros
27 ok - sec_to_string() with decimals and extra trailing zeros
28 ok - sec_to_string() with missing zero before decimal point
29 ok - sec_to_readable(0)
30 ok - sec_to_readable() with invalid string
31 ok - sec_to_readable(86400)
32 ok - sec_to_readable(86400*1000)
33 ok - sec_to_readable(86400+7200+180+4)
34 ok - sec_to_readable("3.14")
35 ok - sec_to_readable() rejects negative numbers
36 ok - sec_to_readable() rejects negative decimal
37 ok - sec_to_readable(), missing zero before decimal point
38 ok - sec_to_readable() with empty string
39 # Testing geo routines...
40 ok - ddd_to_dms("12.34567")
43 ok - ddd_to_dms("pH()rtY tW0")
44 ok - ddd_to_dms("-12.34567")
45 ok - ddd_to_dms("0.34567")
46 ok - ddd_to_dms(".34567")
47 ok - ddd_to_dms("-.34567")
48 ok - ddd_to_dms("-0.34567")
49 ok - ddd_to_dms("180")
50 ok - ddd_to_dms("-180")
52 ok - ddd_to_dms("2-3")
53 # Testing trackpoint()...
54 ok - trackpoint() receives empty hash
55 ok - trackpoint() (gpsml)
56 ok - trackpoint() (gpx)
57 ok - trackpoint(): {'format'} with invalid value ("2d") returns undef
58 ok - trackpoint(): {'lat'} with invalid value ("2d") returns undef
59 ok - trackpoint(): {'lon'} with invalid value ("2d") returns undef
60 ok - trackpoint(): {'what'} with invalid value ("2d") returns undef
61 ok - trackpoint(): {'year'} with empty value skips time
62 ok - trackpoint(): {'year'} with invalid value ("2d") skips time
63 ok - trackpoint(): Strip prefixing zeros from {'year'}
64 ok - trackpoint(): {'year'} is negative, skip time
65 ok - trackpoint(): Decimals in {'year'}, skip time
66 ok - trackpoint(): {'month'} with empty value skips time
67 ok - trackpoint(): {'month'} with invalid value ("2d") skips time
68 ok - trackpoint(): Strip prefixing zeros from {'month'}
69 ok - trackpoint(): {'month'} is negative, skip time
70 ok - trackpoint(): Decimals in {'month'}, skip time
71 ok - trackpoint(): {'day'} with empty value skips time
72 ok - trackpoint(): {'day'} with invalid value ("2d") skips time
73 ok - trackpoint(): Strip prefixing zeros from {'day'}
74 ok - trackpoint(): {'day'} is negative, skip time
75 ok - trackpoint(): Decimals in {'day'}, skip time
76 ok - trackpoint(): {'hour'} with empty value skips time
77 ok - trackpoint(): {'hour'} with invalid value ("2d") skips time
78 ok - trackpoint(): Strip prefixing zeros from {'hour'}
79 ok - trackpoint(): {'hour'} is negative, skip time
80 ok - trackpoint(): Decimals in {'hour'}, skip time
81 ok - trackpoint(): {'min'} with empty value skips time
82 ok - trackpoint(): {'min'} with invalid value ("2d") skips time
83 ok - trackpoint(): Strip prefixing zeros from {'min'}
84 ok - trackpoint(): {'min'} is negative, skip time
85 ok - trackpoint(): Decimals in {'min'}, skip time
86 ok - trackpoint(): {'sec'} with empty value skips time
87 ok - trackpoint(): {'sec'} with invalid value ("2d") skips time
88 ok - trackpoint(): Strip prefixing zeros from {'sec'}
89 ok - trackpoint(): {'sec'} is negative, skip time
90 ok - trackpoint(): Remove trailing zeros in {'sec'} decimals
91 ok - trackpoint(): Missing {'format'}, return undef
92 ok - trackpoint(): Missing {'what'}, return undef
93 ok - trackpoint(): Missing {'error'}, return undef
94 # Testing output from ../gpst
95 # Read empty input (/dev/null)...
96 not ok - "../gpst </dev/null" - Read from /dev/null
97 # Failed test '"../gpst </dev/null" - Read from /dev/null'
98 # at ./run-tests.pl line 2141.
100 # expected: '<?xml version="1.0" encoding="UTF-8"?>
106 not ok - "../gpst </dev/null" - Read from /dev/null (stderr)
107 # Failed test '"../gpst </dev/null" - Read from /dev/null (stderr)'
108 # at ./run-tests.pl line 2144.
109 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
110 # Execution of ../gpst aborted due to compilation errors.
113 not ok - "../gpst -o gpx </dev/null" - Output gpx from /dev/null
114 # Failed test '"../gpst -o gpx </dev/null" - Output gpx from /dev/null'
115 # at ./run-tests.pl line 2141.
117 # expected: '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
120 # creator="gpst - http://svn.sunbase.org/repos/utils/trunk/src/gpstools/"
121 # xmlns="http://www.topografix.com/GPX/1/1"
122 # xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
123 # xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"
131 not ok - "../gpst -o gpx </dev/null" - Output gpx from /dev/null (stderr)
132 # Failed test '"../gpst -o gpx </dev/null" - Output gpx from /dev/null (stderr)'
133 # at ./run-tests.pl line 2144.
134 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
135 # Execution of ../gpst aborted due to compilation errors.
138 # Read empty files...
139 not ok - "echo '<tp> </tp>' | ../gpst" - Don’t print empty trackpoints
140 # Failed test '"echo '<tp> </tp>' | ../gpst" - Don’t print empty trackpoints'
141 # at ./run-tests.pl line 2141.
143 # expected: '<?xml version="1.0" encoding="UTF-8"?>
149 not ok - "echo '<tp> </tp>' | ../gpst" - Don’t print empty trackpoints (stderr)
150 # Failed test '"echo '<tp> </tp>' | ../gpst" - Don’t print empty trackpoints (stderr)'
151 # at ./run-tests.pl line 2144.
152 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
153 # Execution of ../gpst aborted due to compilation errors.
156 # Testing --chronology option...
157 not ok - "../gpst --chronology chronology-error.gpsml" - Check for chronology errors and duplicated times
158 # Failed test '"../gpst --chronology chronology-error.gpsml" - Check for chronology errors and duplicated times'
159 # at ./run-tests.pl line 2141.
161 # expected: '<?xml version="1.0" encoding="UTF-8"?>
164 # <title>Chronology errors</title>
165 # <tp> <time>2006-05-02T09:46:37Z</time> <lat>60.45369</lat> <lon>5.31559</lon> <ele>95</ele> </tp>
166 # <tp> <time>2006-05-02T09:46:42Z</time> <lat>60.45353</lat> <lon>5.31548</lon> <ele>94</ele> </tp>
167 # <tp> <time>2006-05-02T09:46:46Z</time> <lat>60.45353</lat> <lon>5.31561</lon> <ele>94</ele> </tp>
169 # <tp> <time>2006-05-02T09:40:07Z</time> <lat>60.45369</lat> <lon>5.31597</lon> <desc>Out of chronology</desc> </tp>
171 # <pause>0:00:37:54</pause>
172 # <tp> <time>2006-05-02T10:18:01Z</time> <lat>60.45418</lat> <lon>5.31517</lon> <ele>92</ele> </tp>
173 # <tp> <time>2006-05-02T10:18:06Z</time> <lat>60.45407</lat> <lon>5.31542</lon> <ele>91</ele> </tp>
174 # <tp> <time>2006-05-02T10:18:09Z</time> <lat>60.45401</lat> <lon>5.31543</lon> <ele>98</ele> </tp>
175 # <tp> <time>2006-05-02T10:18:09Z</time> <lat>60.45401</lat> <lon>5.31543</lon> <ele>98</ele> </tp>
176 # <tp> <time>2006-05-02T10:18:10Z</time> <lat>60.45395</lat> <lon>5.31544</lon> <ele>103</ele> </tp>
177 # <tp> <time>2006-05-02T10:18:11Z</time> <lat>60.45391</lat> <lon>5.31545</lon> <ele>107</ele> </tp>
181 not ok - "../gpst --chronology chronology-error.gpsml" - Check for chronology errors and duplicated times (stderr)
182 # Failed test '"../gpst --chronology chronology-error.gpsml" - Check for chronology errors and duplicated times (stderr)'
183 # at ./run-tests.pl line 2144.
184 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
185 # Execution of ../gpst aborted due to compilation errors.
187 # expected: 'gpst: chronology-error.gpsml: "2006-05-02T09:46:46Z": Next date is 0:00:06:39 in the past (2006-05-02T09:40:07Z)
188 # gpst: chronology-error.gpsml: "2006-05-02T10:18:09Z": Duplicated time
190 # Testing --skip-dups option...
191 not ok - "../gpst -d no_signal.mayko" - Remove duplicated positions from gpsml
192 # Failed test '"../gpst -d no_signal.mayko" - Remove duplicated positions from gpsml'
193 # at ./run-tests.pl line 2141.
195 # expected: '<?xml version="1.0" encoding="UTF-8"?>
198 # <tp> <time>2002-12-22T21:42:24Z</time> <lat>70.6800486</lat> <lon>23.6746151</lon> </tp>
199 # <tp> <time>2002-12-22T21:42:32Z</time> <lat>70.6799322</lat> <lon>23.6740038</lon> </tp>
200 # <tp> <time>2002-12-22T21:42:54Z</time> <lat>70.6796266</lat> <lon>23.6723991</lon> </tp>
201 # <etp err="dup"> <time>2002-12-22T21:43:51Z</time> <lat>70.6796266</lat> <lon>23.6723991</lon> </etp>
202 # <etp err="dup"> <time>2002-12-22T21:43:52Z</time> <lat>70.6796266</lat> <lon>23.6723991</lon> </etp>
203 # <etp err="dup"> <time>2002-12-22T21:43:54Z</time> <lat>70.6796266</lat> <lon>23.6723991</lon> </etp>
204 # <tp> <time>2002-12-22T21:44:45Z</time> <lat>70.6800774</lat> <lon>23.6757566</lon> </tp>
205 # <tp> <time>2002-12-22T21:44:52Z</time> <lat>70.6801502</lat> <lon>23.6753442</lon> </tp>
206 # <tp> <time>2002-12-22T21:45:04Z</time> <lat>70.6801905</lat> <lon>23.6757542</lon> </tp>
210 not ok - "../gpst -d no_signal.mayko" - Remove duplicated positions from gpsml (stderr)
211 # Failed test '"../gpst -d no_signal.mayko" - Remove duplicated positions from gpsml (stderr)'
212 # at ./run-tests.pl line 2144.
213 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
214 # Execution of ../gpst aborted due to compilation errors.
217 not ok - "../gpst -d -o csv no_signal.mayko" - Remove duplicated positions from csv output format
218 # Failed test '"../gpst -d -o csv no_signal.mayko" - Remove duplicated positions from csv output format'
219 # at ./run-tests.pl line 2141.
221 # expected: '2002-12-22T21:42:24Z 23.6746151 70.6800486
222 # 2002-12-22T21:42:32Z 23.6740038 70.6799322
223 # 2002-12-22T21:42:54Z 23.6723991 70.6796266
224 # 2002-12-22T21:44:45Z 23.6757566 70.6800774
225 # 2002-12-22T21:44:52Z 23.6753442 70.6801502
226 # 2002-12-22T21:45:04Z 23.6757542 70.6801905
228 not ok - "../gpst -d -o csv no_signal.mayko" - Remove duplicated positions from csv output format (stderr)
229 # Failed test '"../gpst -d -o csv no_signal.mayko" - Remove duplicated positions from csv output format (stderr)'
230 # at ./run-tests.pl line 2144.
231 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
232 # Execution of ../gpst aborted due to compilation errors.
235 not ok - "../gpst -d -o clean no_signal.mayko" - Remove duplicated positions from clean output format
236 # Failed test '"../gpst -d -o clean no_signal.mayko" - Remove duplicated positions from clean output format'
237 # at ./run-tests.pl line 2141.
239 # expected: '23.6746151 70.6800486
240 # 23.6740038 70.6799322
241 # 23.6723991 70.6796266
242 # 23.6757566 70.6800774
243 # 23.6753442 70.6801502
244 # 23.6757542 70.6801905
246 not ok - "../gpst -d -o clean no_signal.mayko" - Remove duplicated positions from clean output format (stderr)
247 # Failed test '"../gpst -d -o clean no_signal.mayko" - Remove duplicated positions from clean output format (stderr)'
248 # at ./run-tests.pl line 2144.
249 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
250 # Execution of ../gpst aborted due to compilation errors.
253 not ok - "../gpst -d -o pgtab no_signal.mayko" - Remove duplicated positions from pgtab output format
254 # Failed test '"../gpst -d -o pgtab no_signal.mayko" - Remove duplicated positions from pgtab output format'
255 # at ./run-tests.pl line 2141.
257 # expected: '2002-12-22T21:42:24Z (70.6800486,23.6746151) \N \N \N \N
258 # 2002-12-22T21:42:32Z (70.6799322,23.6740038) \N \N \N \N
259 # 2002-12-22T21:42:54Z (70.6796266,23.6723991) \N \N \N \N
260 # 2002-12-22T21:44:45Z (70.6800774,23.6757566) \N \N \N \N
261 # 2002-12-22T21:44:52Z (70.6801502,23.6753442) \N \N \N \N
262 # 2002-12-22T21:45:04Z (70.6801905,23.6757542) \N \N \N \N
264 not ok - "../gpst -d -o pgtab no_signal.mayko" - Remove duplicated positions from pgtab output format (stderr)
265 # Failed test '"../gpst -d -o pgtab no_signal.mayko" - Remove duplicated positions from pgtab output format (stderr)'
266 # at ./run-tests.pl line 2144.
267 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
268 # Execution of ../gpst aborted due to compilation errors.
271 # Testing --epoch option...
272 not ok - "../gpst -e pause.gpx" - --epoch is ignored in gpsml output
273 # Failed test '"../gpst -e pause.gpx" - --epoch is ignored in gpsml output'
274 # at ./run-tests.pl line 2141.
276 # expected: '<?xml version="1.0" encoding="UTF-8"?>
279 # <title>ACTIVE LOG164705</title>
280 # <tp> <time>2006-05-21T16:49:11Z</time> <lat>60.425494</lat> <lon>5.299534</lon> <ele>25.26</ele> </tp>
281 # <tp> <time>2006-05-21T16:49:46Z</time> <lat>60.425464</lat> <lon>5.29961</lon> <ele>24.931</ele> </tp>
282 # <tp> <time>2006-05-21T16:52:04Z</time> <lat>60.425314</lat> <lon>5.299694</lon> <ele>27.975</ele> </tp>
283 # <tp> <time>2006-05-21T16:56:36Z</time> <lat>60.425384</lat> <lon>5.299741</lon> <ele>31.017</ele> </tp>
284 # <tp> <time>2006-05-21T16:56:47Z</time> <lat>60.425339</lat> <lon>5.299958</lon> <ele>30.98</ele> </tp>
285 # <tp> <time>2006-05-21T16:56:56Z</time> <lat>60.425238</lat> <lon>5.29964</lon> <ele>30.538</ele> </tp>
286 # <tp> <time>2006-05-21T16:57:03Z</time> <lat>60.425246</lat> <lon>5.299686</lon> <ele>30.515</ele> </tp>
287 # <tp> <time>2006-05-21T16:59:08Z</time> <lat>60.425345</lat> <lon>5.299773</lon> <ele>31.936</ele> </tp>
288 # <tp> <time>2006-05-21T17:00:54Z</time> <lat>60.425457</lat> <lon>5.299419</lon> <ele>31.794</ele> </tp>
292 not ok - "../gpst -e pause.gpx" - --epoch is ignored in gpsml output (stderr)
293 # Failed test '"../gpst -e pause.gpx" - --epoch is ignored in gpsml output (stderr)'
294 # at ./run-tests.pl line 2144.
295 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
296 # Execution of ../gpst aborted due to compilation errors.
299 not ok - "../gpst -e -o gpx pause-noname.gpx" - --epoch is ignored in gpx output
300 # Failed test '"../gpst -e -o gpx pause-noname.gpx" - --epoch is ignored in gpx output'
301 # at ./run-tests.pl line 2141.
303 # expected: '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
306 # creator="gpst - http://svn.sunbase.org/repos/utils/trunk/src/gpstools/"
307 # xmlns="http://www.topografix.com/GPX/1/1"
308 # xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
309 # xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"
313 # <trkpt lat="60.425494" lon="5.299534"> <ele>25.260</ele> <time>2006-05-21T16:49:11Z</time> </trkpt>
314 # <trkpt lat="60.425464" lon="5.299610"> <ele>24.931</ele> <time>2006-05-21T16:49:46Z</time> </trkpt>
315 # <trkpt lat="60.425314" lon="5.299694"> <ele>27.975</ele> <time>2006-05-21T16:52:04Z</time> </trkpt>
316 # <trkpt lat="60.425384" lon="5.299741"> <ele>31.017</ele> <time>2006-05-21T16:56:36Z</time> </trkpt>
317 # <trkpt lat="60.425339" lon="5.299958"> <ele>30.980</ele> <time>2006-05-21T16:56:47Z</time> </trkpt>
318 # <trkpt lat="60.425238" lon="5.299640"> <ele>30.538</ele> <time>2006-05-21T16:56:56Z</time> </trkpt>
319 # <trkpt lat="60.425246" lon="5.299686"> <ele>30.515</ele> <time>2006-05-21T16:57:03Z</time> </trkpt>
320 # <trkpt lat="60.425345" lon="5.299773"> <ele>31.936</ele> <time>2006-05-21T16:59:08Z</time> </trkpt>
321 # <trkpt lat="60.425457" lon="5.299419"> <ele>31.794</ele> <time>2006-05-21T17:00:54Z</time> </trkpt>
326 not ok - "../gpst -e -o gpx pause-noname.gpx" - --epoch is ignored in gpx output (stderr)
327 # Failed test '"../gpst -e -o gpx pause-noname.gpx" - --epoch is ignored in gpx output (stderr)'
328 # at ./run-tests.pl line 2144.
329 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
330 # Execution of ../gpst aborted due to compilation errors.
333 # Testing --fix option...
334 not ok - "../gpst --fix --chronology chronology-error.gpsml" - Remove bad timestamps
335 # Failed test '"../gpst --fix --chronology chronology-error.gpsml" - Remove bad timestamps'
336 # at ./run-tests.pl line 2141.
338 # expected: '<?xml version="1.0" encoding="UTF-8"?>
341 # <title>Chronology errors</title>
342 # <tp> <time>2006-05-02T09:46:37Z</time> <lat>60.45369</lat> <lon>5.31559</lon> <ele>95</ele> </tp>
343 # <tp> <time>2006-05-02T09:46:42Z</time> <lat>60.45353</lat> <lon>5.31548</lon> <ele>94</ele> </tp>
344 # <tp> <time>2006-05-02T09:46:46Z</time> <lat>60.45353</lat> <lon>5.31561</lon> <ele>94</ele> </tp>
346 # <etp err="chrono"> <time>2006-05-02T09:40:07Z</time> <lat>60.45369</lat> <lon>5.31597</lon> <desc>Out of chronology</desc> </etp>
348 # <pause>0:00:37:54</pause>
349 # <tp> <time>2006-05-02T10:18:01Z</time> <lat>60.45418</lat> <lon>5.31517</lon> <ele>92</ele> </tp>
350 # <tp> <time>2006-05-02T10:18:06Z</time> <lat>60.45407</lat> <lon>5.31542</lon> <ele>91</ele> </tp>
351 # <tp> <time>2006-05-02T10:18:09Z</time> <lat>60.45401</lat> <lon>5.31543</lon> <ele>98</ele> </tp>
352 # <etp err="duptime"> <time>2006-05-02T10:18:09Z</time> <lat>60.45401</lat> <lon>5.31543</lon> <ele>98</ele> </etp>
353 # <tp> <time>2006-05-02T10:18:10Z</time> <lat>60.45395</lat> <lon>5.31544</lon> <ele>103</ele> </tp>
354 # <tp> <time>2006-05-02T10:18:11Z</time> <lat>60.45391</lat> <lon>5.31545</lon> <ele>107</ele> </tp>
358 not ok - "../gpst --fix --chronology chronology-error.gpsml" - Remove bad timestamps (stderr)
359 # Failed test '"../gpst --fix --chronology chronology-error.gpsml" - Remove bad timestamps (stderr)'
360 # at ./run-tests.pl line 2144.
361 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
362 # Execution of ../gpst aborted due to compilation errors.
364 # expected: 'gpst: chronology-error.gpsml: "2006-05-02T09:46:46Z": Next date is 0:00:06:39 in the past (2006-05-02T09:40:07Z)
365 # gpst: chronology-error.gpsml: "2006-05-02T10:18:09Z": Duplicated time
367 # Testing --from-date option...
368 # Testing -h (--help) option...
369 not ok - "../gpst -h" - Option -h prints help screen
370 # Failed test '"../gpst -h" - Option -h prints help screen'
371 # at ./run-tests.pl line 2169.
373 # doesn't match '/ Show this help\./'
374 not ok - "../gpst -h" - Option -h prints help screen (stderr)
375 # Failed test '"../gpst -h" - Option -h prints help screen (stderr)'
376 # at ./run-tests.pl line 2172.
377 # 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
378 # Execution of ../gpst aborted due to compilation errors.
380 # doesn't match '/^$/'
381 Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
382 Execution of ../gpst aborted due to compilation errors.
383 ok - "../gpst -h" - No Id with only -h
384 # Testing --inside option...
385 not ok - "../gpst --pos1 2.11,2.12 --pos2 3.31,3.32 --inside multitrack-pause.gpx" - Check --inside option (gpx to gpst)
386 # Failed test '"../gpst --pos1 2.11,2.12 --pos2 3.31,3.32 --inside multitrack-pause.gpx" - Check --inside option (gpx to gpst)'
387 # at ./run-tests.pl line 2141.
389 # expected: '<?xml version="1.0" encoding="UTF-8"?>
392 # <title>track1</title>
394 # <title>track2</title>
395 # <tp> <time>2006-01-02T00:00:00Z</time> <lat>2.11</lat> <lon>2.12</lon> </tp>
396 # <tp> <time>2006-01-02T00:00:04Z</time> <lat>2.21</lat> <lon>2.22</lon> </tp>
397 # <tp> <time>2006-01-02T00:00:16Z</time> <lat>2.31</lat> <lon>2.32</lon> </tp>
398 # <tp> <time>2006-01-02T01:00:16Z</time> <lat>2.41</lat> <lon>2.42</lon> </tp>
400 # <tp> <time>2006-01-02T01:00:17Z</time> <lat>2.451</lat> <lon>2.452</lon> </tp>
402 # <title>track3</title>
403 # <tp> <time>2006-01-03T02:00:20Z</time> <lat>3.11</lat> <lon>3.12</lon> </tp>
404 # <tp> <time>2006-01-03T02:00:21Z</time> <lat>3.21</lat> <lon>3.22</lon> </tp>
405 # <tp> <time>2006-01-03T02:00:22Z</time> <lat>3.31</lat> <lon>3.32</lon> </tp>
409 not ok - "../gpst --pos1 2.11,2.12 --pos2 3.31,3.32 --inside multitrack-pause.gpx" - Check --inside option (gpx to gpst) (stderr)
410 # Failed test '"../gpst --pos1 2.11,2.12 --pos2 3.31,3.32 --inside multitrack-pause.gpx" - Check --inside option (gpx to gpst) (stderr)'
411 # at ./run-tests.pl line 2144.
412 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
413 # Execution of ../gpst aborted due to compilation errors.
416 # Testing --undefined option...
417 # Testing --near option...
418 # Testing --output option...
419 not ok - "../gpst log.mcsv" - Read Mapsource TAB-separated format
420 # Failed test '"../gpst log.mcsv" - Read Mapsource TAB-separated format'
421 # at ./run-tests.pl line 2141.
423 # expected: '<?xml version="1.0" encoding="UTF-8"?>
427 # <title>ACTIVE LOG 125</title>
428 # <tp> <time>2006-03-04T11:12:30Z</time> <lat>54.96883</lat> <lon>-1.62439</lon> <ele>77</ele> </tp>
429 # <tp> <time>2006-03-04T11:12:47Z</time> <lat>54.96878</lat> <lon>-1.62413</lon> <ele>77</ele> </tp>
430 # <tp> <time>2006-03-04T11:12:55Z</time> <lat>54.96913</lat> <lon>-1.62616</lon> <ele>77</ele> </tp>
431 # <tp> <time>2006-03-04T11:13:04Z</time> <lat>54.96934</lat> <lon>-1.62624</lon> <ele>77.5</ele> </tp>
432 # <tp> <time>2006-03-04T11:13:33Z</time> <lat>54.96934</lat> <lon>-1.62596</lon> <ele>78</ele> </tp>
433 # <tp> <time>2006-03-04T11:13:48Z</time> <lat>54.96931</lat> <lon>-1.62645</lon> <ele>78</ele> </tp>
434 # <tp> <time>2006-03-04T11:14:05Z</time> <lat>54.96918</lat> <lon>-1.62603</lon> <ele>79</ele> </tp>
435 # <tp> <time>2006-03-04T11:14:33Z</time> <lat>54.96901</lat> <lon>-1.62364</lon> <ele>76.1</ele> </tp>
436 # <tp> <time>2006-03-04T11:15:02Z</time> <lat>54.96922</lat> <lon>-1.6254</lon> <ele>76.1</ele> </tp>
437 # <tp> <time>2006-03-04T11:15:27Z</time> <lat>54.96914</lat> <lon>-1.62526</lon> <ele>75.1</ele> </tp>
438 # <tp> <time>2006-03-04T11:15:50Z</time> <lat>54.96911</lat> <lon>-1.62494</lon> <ele>75.1</ele> </tp>
439 # <tp> <time>2006-03-04T11:16:03Z</time> <lat>54.9693</lat> <lon>-1.62489</lon> <ele>75.1</ele> </tp>
440 # <tp> <time>2006-03-04T11:16:19Z</time> <lat>54.96901</lat> <lon>-1.62496</lon> <ele>75.1</ele> </tp>
441 # <tp> <time>2006-03-04T11:16:52Z</time> <lat>54.96871</lat> <lon>-1.62466</lon> <ele>74.6</ele> </tp>
442 # <tp> <time>2006-03-04T11:17:25Z</time> <lat>54.96908</lat> <lon>-1.62488</lon> <ele>72.7</ele> </tp>
444 # <title>ACTIVE LOG 126</title>
445 # <tp> <time>2006-03-04T11:18:32Z</time> <lat>54.96904</lat> <lon>-1.62482</lon> <ele>72.7</ele> </tp>
446 # <tp> <time>2006-03-04T11:18:35Z</time> <lat>54.96913</lat> <lon>-1.62499</lon> <ele>71.3</ele> </tp>
447 # <tp> <time>2006-03-04T11:18:38Z</time> <lat>54.96904</lat> <lon>-1.62497</lon> <ele>70.8</ele> </tp>
448 # <tp> <time>2006-03-04T11:18:48Z</time> <lat>54.96913</lat> <lon>-1.62496</lon> <ele>71.8</ele> </tp>
449 # <tp> <time>2006-03-04T11:18:55Z</time> <lat>54.96924</lat> <lon>-1.62501</lon> <ele>72.2</ele> </tp>
450 # <tp> <time>2006-03-04T11:19:11Z</time> <lat>54.9694</lat> <lon>-1.62521</lon> <ele>71.8</ele> </tp>
451 # <tp> <time>2006-03-04T11:19:30Z</time> <lat>54.96916</lat> <lon>-1.62515</lon> <ele>71.3</ele> </tp>
452 # <tp> <time>2006-03-04T11:19:53Z</time> <lat>54.96921</lat> <lon>-1.625</lon> <ele>71.3</ele> </tp>
453 # <tp> <time>2006-03-04T11:20:21Z</time> <lat>54.96801</lat> <lon>-1.62417</lon> <ele>71.8</ele> </tp>
455 # <title>ACTIVE LOG 127</title>
456 # <tp> <time>2006-03-04T11:21:16Z</time> <lat>54.96887</lat> <lon>-1.62504</lon> <ele>70.8</ele> </tp>
457 # <tp> <time>2006-03-04T11:21:18Z</time> <lat>54.96898</lat> <lon>-1.62476</lon> <ele>69.8</ele> </tp>
458 # <tp> <time>2006-03-04T11:21:29Z</time> <lat>54.9691</lat> <lon>-1.62475</lon> <ele>69.4</ele> </tp>
459 # <tp> <time>2006-03-04T11:21:46Z</time> <lat>54.96918</lat> <lon>-1.62468</lon> <ele>70.3</ele> </tp>
460 # <tp> <time>2006-03-04T11:22:39Z</time> <lat>54.9692</lat> <lon>-1.62465</lon> <ele>69.4</ele> </tp>
461 # <tp> <time>2006-03-04T11:22:43Z</time> <lat>54.96924</lat> <lon>-1.62462</lon> <ele>71.8</ele> </tp>
462 # <tp> <time>2006-03-04T11:22:45Z</time> <lat>54.96928</lat> <lon>-1.62463</lon> <ele>71.8</ele> </tp>
463 # <tp> <time>2006-03-04T11:23:00Z</time> <lat>54.96945</lat> <lon>-1.62466</lon> <ele>69.4</ele> </tp>
467 not ok - "../gpst log.mcsv" - Read Mapsource TAB-separated format (stderr)
468 # Failed test '"../gpst log.mcsv" - Read Mapsource TAB-separated format (stderr)'
469 # at ./run-tests.pl line 2144.
470 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
471 # Execution of ../gpst aborted due to compilation errors.
474 not ok - "../gpst two-digit_year.mcsv" - Read Mapsource TAB-separated format with two-digit year
475 # Failed test '"../gpst two-digit_year.mcsv" - Read Mapsource TAB-separated format with two-digit year'
476 # at ./run-tests.pl line 2141.
478 # expected: '<?xml version="1.0" encoding="UTF-8"?>
482 # <title>ACTIVE LOG 032</title>
483 # <tp> <time>2006-03-20T20:35:33Z</time> <lat>60.41324</lat> <lon>5.33352</lon> <ele>14</ele> </tp>
484 # <tp> <time>2006-03-20T20:35:38Z</time> <lat>60.38802</lat> <lon>5.33845</lon> <ele>18</ele> </tp>
485 # <tp> <time>2006-03-20T20:35:44Z</time> <lat>60.38709</lat> <lon>5.3379</lon> <ele>19</ele> </tp>
486 # <tp> <time>2006-03-20T20:35:49Z</time> <lat>60.38641</lat> <lon>5.33732</lon> <ele>18</ele> </tp>
487 # <tp> <time>2006-03-20T20:35:54Z</time> <lat>60.38581</lat> <lon>5.33647</lon> <ele>18</ele> </tp>
488 # <tp> <time>2006-03-20T20:36:00Z</time> <lat>60.38516</lat> <lon>5.33528</lon> <ele>15</ele> </tp>
489 # <tp> <time>2006-03-20T20:36:02Z</time> <lat>60.38495</lat> <lon>5.3349</lon> <ele>13</ele> </tp>
493 not ok - "../gpst two-digit_year.mcsv" - Read Mapsource TAB-separated format with two-digit year (stderr)
494 # Failed test '"../gpst two-digit_year.mcsv" - Read Mapsource TAB-separated format with two-digit year (stderr)'
495 # at ./run-tests.pl line 2144.
496 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
497 # Execution of ../gpst aborted due to compilation errors.
500 not ok - "../gpst log.gpstxt" - Read Garmin serial text format
501 # Failed test '"../gpst log.gpstxt" - Read Garmin serial text format'
502 # at ./run-tests.pl line 2141.
504 # expected: '<?xml version="1.0" encoding="UTF-8"?>
507 # <tp> <time>2003-06-13T14:36:09Z</time> <lat>59.521517</lat> <lon>7.391867</lon> <ele>762</ele> </tp>
508 # <tp> <time>2003-06-13T14:36:10Z</time> <lat>59.5214</lat> <lon>7.392133</lon> <ele>762</ele> </tp>
509 # <tp> <time>2003-06-13T14:36:11Z</time> <lat>59.5213</lat> <lon>7.392417</lon> <ele>761</ele> </tp>
510 # <tp> <time>2003-06-13T14:36:12Z</time> <lat>59.521183</lat> <lon>7.3927</lon> <ele>761</ele> </tp>
511 # <etp err="nosignal"> <time>2003-06-13T14:36:13Z</time> </etp>
512 # <tp> <time>2003-06-13T14:36:15Z</time> <lat>59.52085</lat> <lon>7.393517</lon> <ele>760</ele> </tp>
513 # <tp> <time>2003-06-13T14:36:16Z</time> <lat>59.520733</lat> <lon>7.393783</lon> <ele>760</ele> </tp>
514 # <tp> <time>2003-06-13T14:36:17Z</time> <lat>59.52065</lat> <lon>7.39405</lon> <ele>760</ele> </tp>
515 # <tp> <time>2003-06-13T14:36:18Z</time> <lat>59.520583</lat> <lon>7.394333</lon> <ele>760</ele> </tp>
516 # <tp> <time>2003-06-13T14:36:19Z</time> <lat>59.520533</lat> <lon>7.394633</lon> <ele>759</ele> </tp>
517 # <tp> <time>2003-06-13T14:36:20Z</time> <lat>59.520483</lat> <lon>7.394917</lon> <ele>759</ele> </tp>
518 # <tp> <time>2003-06-13T14:36:21Z</time> <lat>59.520433</lat> <lon>7.395233</lon> <ele>759</ele> </tp>
519 # <etp err="nosignal"> <time>2003-06-13T14:36:22Z</time> </etp>
520 # <tp> <time>2003-06-13T14:36:24Z</time> <lat>59.520283</lat> <lon>7.396233</lon> <ele>758</ele> </tp>
521 # <tp> <time>2003-06-13T14:36:25Z</time> <lat>59.520233</lat> <lon>7.39655</lon> <ele>758</ele> </tp>
522 # <tp> <time>2003-06-13T14:36:26Z</time> <lat>59.520183</lat> <lon>7.396883</lon> <ele>757</ele> </tp>
523 # <tp> <time>2003-06-13T14:36:27Z</time> <lat>59.520133</lat> <lon>7.397217</lon> <ele>757</ele> </tp>
524 # <tp> <time>2003-06-13T14:36:28Z</time> <lat>59.5201</lat> <lon>7.397567</lon> <ele>757</ele> </tp>
528 not ok - "../gpst log.gpstxt" - Read Garmin serial text format (stderr)
529 # Failed test '"../gpst log.gpstxt" - Read Garmin serial text format (stderr)'
530 # at ./run-tests.pl line 2144.
531 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
532 # Execution of ../gpst aborted due to compilation errors.
535 not ok - "../gpst log.dos.mayko" - Read DOS-formatted Mayko format
536 # Failed test '"../gpst log.dos.mayko" - Read DOS-formatted Mayko format'
537 # at ./run-tests.pl line 2141.
539 # expected: '<?xml version="1.0" encoding="UTF-8"?>
542 # <tp> <time>2003-06-15T10:27:45Z</time> <lat>58.1818158</lat> <lon>8.1225077</lon> </tp>
543 # <tp> <time>2003-06-15T10:27:53Z</time> <lat>58.1818712</lat> <lon>8.12532</lon> </tp>
544 # <tp> <time>2003-06-15T10:27:57Z</time> <lat>58.1816347</lat> <lon>8.1266031</lon> </tp>
545 # <tp> <time>2003-06-15T10:28:03Z</time> <lat>58.1812099</lat> <lon>8.1284612</lon> </tp>
546 # <tp> <time>2003-06-15T10:28:06Z</time> <lat>58.1810315</lat> <lon>8.129395</lon> </tp>
547 # <tp> <time>2003-06-15T10:28:10Z</time> <lat>58.1809621</lat> <lon>8.13074</lon> </tp>
551 not ok - "../gpst log.dos.mayko" - Read DOS-formatted Mayko format (stderr)
552 # Failed test '"../gpst log.dos.mayko" - Read DOS-formatted Mayko format (stderr)'
553 # at ./run-tests.pl line 2144.
554 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
555 # Execution of ../gpst aborted due to compilation errors.
558 not ok - "../gpst log.dos.gpstxt" - Read DOS-formatted Garmin serial text format
559 # Failed test '"../gpst log.dos.gpstxt" - Read DOS-formatted Garmin serial text format'
560 # at ./run-tests.pl line 2141.
562 # expected: '<?xml version="1.0" encoding="UTF-8"?>
565 # <tp> <time>2003-01-05T16:47:11Z</time> <lat>66.908167</lat> <lon>15.022983</lon> <ele>11472</ele> </tp>
566 # <tp> <time>2003-01-05T16:47:12Z</time> <lat>66.90625</lat> <lon>15.020667</lon> <ele>11472</ele> </tp>
567 # <tp> <time>2003-01-05T16:47:13Z</time> <lat>66.904317</lat> <lon>15.01835</lon> <ele>11472</ele> </tp>
568 # <tp> <time>2003-01-05T16:47:14Z</time> <lat>66.9024</lat> <lon>15.016017</lon> <ele>11473</ele> </tp>
569 # <tp> <time>2003-01-05T16:47:15Z</time> <lat>66.900483</lat> <lon>15.0137</lon> <ele>11474</ele> </tp>
570 # <tp> <time>2003-01-05T16:47:16Z</time> <lat>66.898567</lat> <lon>15.011383</lon> <ele>11474</ele> </tp>
571 # <tp> <time>2003-01-05T16:47:17Z</time> <lat>66.896633</lat> <lon>15.009067</lon> <ele>11475</ele> </tp>
572 # <tp> <time>2003-01-05T16:47:18Z</time> <lat>66.894717</lat> <lon>15.006733</lon> <ele>11475</ele> </tp>
573 # <tp> <time>2003-01-05T16:47:19Z</time> <lat>66.8928</lat> <lon>15.004417</lon> <ele>11475</ele> </tp>
574 # <tp> <time>2003-01-05T16:47:20Z</time> <lat>66.890867</lat> <lon>15.0021</lon> <ele>11475</ele> </tp>
575 # <tp> <time>2003-01-05T16:47:21Z</time> <lat>66.88895</lat> <lon>14.999783</lon> <ele>11475</ele> </tp>
579 not ok - "../gpst log.dos.gpstxt" - Read DOS-formatted Garmin serial text format (stderr)
580 # Failed test '"../gpst log.dos.gpstxt" - Read DOS-formatted Garmin serial text format (stderr)'
581 # at ./run-tests.pl line 2144.
582 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
583 # Execution of ../gpst aborted due to compilation errors.
586 not ok - "../gpst log.unix.mcsv" - Read UNIX-formatted Garmin Mapsource TAB-separated format
587 # Failed test '"../gpst log.unix.mcsv" - Read UNIX-formatted Garmin Mapsource TAB-separated format'
588 # at ./run-tests.pl line 2141.
590 # expected: '<?xml version="1.0" encoding="UTF-8"?>
594 # <title>ACTIVE LOG 058</title>
595 # <tp> <time>2006-02-21T15:14:25Z</time> <lat>60.36662</lat> <lon>5.24885</lon> <ele>31.9</ele> </tp>
596 # <tp> <time>2006-02-21T15:14:30Z</time> <lat>60.37057</lat> <lon>5.22956</lon> <ele>35.2</ele> </tp>
597 # <tp> <time>2006-02-21T15:14:35Z</time> <lat>60.37019</lat> <lon>5.22817</lon> <ele>39.6</ele> </tp>
598 # <tp> <time>2006-02-21T15:14:36Z</time> <lat>60.37012</lat> <lon>5.2279</lon> <ele>41</ele> </tp>
599 # <tp> <time>2006-02-21T15:14:40Z</time> <lat>60.37009</lat> <lon>5.22682</lon> <ele>47.2</ele> </tp>
600 # <tp> <time>2006-02-21T15:14:42Z</time> <lat>60.37011</lat> <lon>5.22641</lon> <ele>49.2</ele> </tp>
601 # <tp> <time>2006-02-21T15:14:44Z</time> <lat>60.37011</lat> <lon>5.22607</lon> <ele>50.1</ele> </tp>
602 # <tp> <time>2006-02-21T15:14:48Z</time> <lat>60.37002</lat> <lon>5.22568</lon> <ele>51.1</ele> </tp>
603 # <tp> <time>2006-02-21T15:14:51Z</time> <lat>60.3701</lat> <lon>5.22548</lon> <ele>52.5</ele> </tp>
607 not ok - "../gpst log.unix.mcsv" - Read UNIX-formatted Garmin Mapsource TAB-separated format (stderr)
608 # Failed test '"../gpst log.unix.mcsv" - Read UNIX-formatted Garmin Mapsource TAB-separated format (stderr)'
609 # at ./run-tests.pl line 2144.
610 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
611 # Execution of ../gpst aborted due to compilation errors.
614 not ok - "../gpst multitrack.gpx" - Read GPX file with multiple tracks
615 # Failed test '"../gpst multitrack.gpx" - Read GPX file with multiple tracks'
616 # at ./run-tests.pl line 2141.
618 # expected: '<?xml version="1.0" encoding="UTF-8"?>
621 # <title>Track 1</title>
622 # <tp> <time>2003-02-11T23:35:39Z</time> <lat>51.4968266</lat> <lon>-0.1448824</lon> </tp>
623 # <tp> <time>2003-02-11T23:35:49Z</time> <lat>51.4968227</lat> <lon>-0.1449938</lon> </tp>
624 # <tp> <time>2003-02-11T23:36:14Z</time> <lat>51.496904</lat> <lon>-0.1453202</lon> </tp>
626 # <title>Track 2</title>
627 # <tp> <time>2003-02-11T23:36:16Z</time> <lat>51.4969214</lat> <lon>-0.1453398</lon> </tp>
628 # <tp> <time>2003-02-11T23:36:31Z</time> <lat>51.4969816</lat> <lon>-0.1455514</lon> </tp>
629 # <tp> <time>2003-02-11T23:36:43Z</time> <lat>51.4970224</lat> <lon>-0.1457489</lon> <ele>1000</ele> </tp>
630 # <tp> <time>2003-02-11T23:36:50Z</time> <lat>51.4970452</lat> <lon>-0.1457804</lon> </tp>
632 # <title>Track 3</title>
633 # <tp> <time>2003-02-11T23:37:05Z</time> <lat>51.497068</lat> <lon>-0.1458608</lon> </tp>
634 # <tp> <time>2003-02-11T23:37:22Z</time> <lat>51.4971658</lat> <lon>-0.1460047</lon> </tp>
635 # <tp> <time>2003-02-11T23:37:36Z</time> <lat>51.4972469</lat> <lon>-0.1461614</lon> </tp>
637 # <title>Track 4</title>
638 # <tp> <time>2003-02-11T23:37:43Z</time> <lat>51.4972731</lat> <lon>-0.1462394</lon> </tp>
639 # <tp> <time>2003-02-11T23:38:04Z</time> <lat>51.4973437</lat> <lon>-0.1463232</lon> </tp>
640 # <tp> <time>2003-02-11T23:38:28Z</time> <lat>51.4973337</lat> <lon>-0.1462949</lon> </tp>
641 # <tp> <time>2003-02-11T23:38:34Z</time> <lat>51.4973218</lat> <lon>-0.1462825</lon> </tp>
642 # <tp> <time>2003-02-11T23:38:35Z</time> <lat>51.4973145</lat> <lon>-0.1462732</lon> </tp>
646 not ok - "../gpst multitrack.gpx" - Read GPX file with multiple tracks (stderr)
647 # Failed test '"../gpst multitrack.gpx" - Read GPX file with multiple tracks (stderr)'
648 # at ./run-tests.pl line 2144.
649 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
650 # Execution of ../gpst aborted due to compilation errors.
653 not ok - "../gpst compact.gpx" - Read GPX one-liner
654 # Failed test '"../gpst compact.gpx" - Read GPX one-liner'
655 # at ./run-tests.pl line 2141.
657 # expected: '<?xml version="1.0" encoding="UTF-8"?>
660 # <title>All whitespace stripped</title>
661 # <tp> <time>2002-12-30T15:22:04Z</time> <lat>70.660932</lat> <lon>23.7028354</lon> </tp>
662 # <tp> <time>2002-12-30T15:22:06Z</time> <lat>70.6609392</lat> <lon>23.7028468</lon> </tp>
663 # <tp> <time>2002-12-30T15:22:08Z</time> <lat>70.6609429</lat> <lon>23.7028499</lon> </tp>
664 # <tp> <time>2002-12-30T15:22:11Z</time> <lat>70.6609381</lat> <lon>23.702862</lon> </tp>
665 # <tp> <time>2002-12-30T15:22:12Z</time> <lat>70.6609368</lat> <lon>23.7028648</lon> </tp>
666 # <tp> <time>2002-12-30T15:22:13Z</time> <lat>70.6609344</lat> <lon>23.7028652</lon> </tp>
667 # <tp> <time>2002-12-30T15:22:15Z</time> <lat>70.6609349</lat> <lon>23.7028707</lon> </tp>
668 # <tp> <time>2002-12-30T15:22:17Z</time> <lat>70.6609348</lat> <lon>23.7028654</lon> </tp>
669 # <tp> <time>2002-12-30T15:22:19Z</time> <lat>70.6609347</lat> <lon>23.7028599</lon> </tp>
670 # <tp> <time>2002-12-30T15:22:20Z</time> <lat>70.6609348</lat> <lon>23.7028609</lon> </tp>
671 # <tp> <time>2002-12-30T15:22:23Z</time> <lat>70.6609388</lat> <lon>23.7028653</lon> </tp>
672 # <tp> <time>2002-12-30T15:22:25Z</time> <lat>70.6609426</lat> <lon>23.7028732</lon> </tp>
676 not ok - "../gpst compact.gpx" - Read GPX one-liner (stderr)
677 # Failed test '"../gpst compact.gpx" - Read GPX one-liner (stderr)'
678 # at ./run-tests.pl line 2144.
679 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
680 # Execution of ../gpst aborted due to compilation errors.
683 not ok - "../gpst missing.gpsml" - Read gpsml with various data missing
684 # Failed test '"../gpst missing.gpsml" - Read gpsml with various data missing'
685 # at ./run-tests.pl line 2141.
687 # expected: '<?xml version="1.0" encoding="UTF-8"?>
690 # <title>Missing various elements</title>
691 # <tp> <time>2006-04-30T17:16:59Z</time> </tp>
692 # <tp> <time>2006-04-30T17:17:00Z</time> <lat>60.42352</lat> </tp>
693 # <tp> <time>2006-04-30T17:17:09Z</time> <lat>60.42353</lat> <lon>5.34185</lon> </tp>
694 # <tp> <time>2006-04-30T17:17:11Z</time> <lon>5.34187</lon> <ele>483</ele> </tp>
695 # <tp> <time>2006-04-30T17:17:22Z</time> <ele>485</ele> </tp>
696 # <tp> <lat>60.42347</lat> <lon>5.34212</lon> <ele>486</ele> </tp>
697 # <tp> <lon>5.34224</lon> <ele>484</ele> </tp>
698 # <tp> <ele>486</ele> </tp>
699 # <tp> <desc>Missing everything</desc> </tp>
700 # <tp> <lat>60.42339</lat> </tp>
701 # <tp> <lon>5.34262</lon> </tp>
702 # <tp> <time>2006-04-30T17:18:03Z</time> <lat>60.42339</lat> <ele>490</ele> </tp>
703 # <tp> <time>2006-04-30T17:18:05Z</time> <lat>60.42338</lat> <lon>5.34269</lon> <ele>487</ele> </tp>
707 not ok - "../gpst missing.gpsml" - Read gpsml with various data missing (stderr)
708 # Failed test '"../gpst missing.gpsml" - Read gpsml with various data missing (stderr)'
709 # at ./run-tests.pl line 2144.
710 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
711 # Execution of ../gpst aborted due to compilation errors.
714 not ok - "../gpst different_dateformats.gpsml" - Read different date formats from gpsml file
715 # Failed test '"../gpst different_dateformats.gpsml" - Read different date formats from gpsml file'
716 # at ./run-tests.pl line 2141.
718 # expected: '<?xml version="1.0" encoding="UTF-8"?>
721 # <title>Date format variations</title>
722 # <tp> <time>2006-01-01T00:00:01Z</time> <lat>1</lat> <lon>1</lon> </tp>
723 # <tp> <time>2006-01-01T00:00:02Z</time> <lat>2</lat> <lon>2</lon> </tp>
724 # <tp> <time>2006-01-01T00:00:03Z</time> <lat>3</lat> <lon>3</lon> </tp>
725 # <tp> <time>2006-01-01T00:00:04Z</time> <lat>4</lat> <lon>4</lon> </tp>
729 not ok - "../gpst different_dateformats.gpsml" - Read different date formats from gpsml file (stderr)
730 # Failed test '"../gpst different_dateformats.gpsml" - Read different date formats from gpsml file (stderr)'
731 # at ./run-tests.pl line 2144.
732 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
733 # Execution of ../gpst aborted due to compilation errors.
736 not ok - "../gpst multitrack-pause.gpx" - Should be equal to multitrack-pause.gpsml
737 # Failed test '"../gpst multitrack-pause.gpx" - Should be equal to multitrack-pause.gpsml'
738 # at ./run-tests.pl line 2141.
740 # expected: '<?xml version="1.0" encoding="UTF-8"?>
743 # <title>track1</title>
744 # <tp> <time>2006-01-01T00:00:00Z</time> <lat>1.11</lat> <lon>1.12</lon> </tp>
745 # <tp> <time>2006-01-01T00:00:01Z</time> <lat>1.21</lat> <lon>1.22</lon> </tp>
746 # <tp> <time>2006-01-01T00:00:02Z</time> <lat>1.31</lat> <lon>1.32</lon> </tp>
748 # <title>track2</title>
749 # <tp> <time>2006-01-02T00:00:00Z</time> <lat>2.11</lat> <lon>2.12</lon> </tp>
750 # <tp> <time>2006-01-02T00:00:04Z</time> <lat>2.21</lat> <lon>2.22</lon> </tp>
751 # <tp> <time>2006-01-02T00:00:16Z</time> <lat>2.31</lat> <lon>2.32</lon> </tp>
752 # <tp> <time>2006-01-02T01:00:16Z</time> <lat>2.41</lat> <lon>2.42</lon> </tp>
754 # <tp> <time>2006-01-02T01:00:17Z</time> <lat>2.451</lat> <lon>2.452</lon> </tp>
756 # <title>track3</title>
757 # <tp> <time>2006-01-03T02:00:20Z</time> <lat>3.11</lat> <lon>3.12</lon> </tp>
758 # <tp> <time>2006-01-03T02:00:21Z</time> <lat>3.21</lat> <lon>3.22</lon> </tp>
759 # <tp> <time>2006-01-03T02:00:22Z</time> <lat>3.31</lat> <lon>3.32</lon> </tp>
761 # <tp> <time>2006-01-03T02:00:23Z</time> <lat>3.41</lat> <lon>3.42</lon> </tp>
762 # <tp> <time>2006-01-03T02:00:24Z</time> <lat>3.51</lat> <lon>3.52</lon> </tp>
763 # <tp> <time>2006-01-03T02:00:25Z</time> <lat>3.61</lat> <lon>3.62</lon> </tp>
764 # <tp> <time>2006-01-03T02:00:26Z</time> <lat>3.71</lat> <lon>3.72</lon> </tp>
765 # <tp> <time>2006-01-03T02:00:27Z</time> <lat>3.81</lat> <lon>3.82</lon> </tp>
769 not ok - "../gpst multitrack-pause.gpx" - Should be equal to multitrack-pause.gpsml (stderr)
770 # Failed test '"../gpst multitrack-pause.gpx" - Should be equal to multitrack-pause.gpsml (stderr)'
771 # at ./run-tests.pl line 2144.
772 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
773 # Execution of ../gpst aborted due to compilation errors.
776 not ok - "../gpst -o gpx no_signal.mayko" - Output GPX from Mayko file with duplicates
777 # Failed test '"../gpst -o gpx no_signal.mayko" - Output GPX from Mayko file with duplicates'
778 # at ./run-tests.pl line 2141.
780 # expected: '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
783 # creator="gpst - http://svn.sunbase.org/repos/utils/trunk/src/gpstools/"
784 # xmlns="http://www.topografix.com/GPX/1/1"
785 # xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
786 # xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"
790 # <trkpt lat="70.6800486" lon="23.6746151"> <time>2002-12-22T21:42:24Z</time> </trkpt>
791 # <trkpt lat="70.6799322" lon="23.6740038"> <time>2002-12-22T21:42:32Z</time> </trkpt>
792 # <trkpt lat="70.6796266" lon="23.6723991"> <time>2002-12-22T21:42:54Z</time> </trkpt>
793 # <trkpt lat="70.6796266" lon="23.6723991"> <time>2002-12-22T21:43:51Z</time> </trkpt>
794 # <trkpt lat="70.6796266" lon="23.6723991"> <time>2002-12-22T21:43:52Z</time> </trkpt>
795 # <trkpt lat="70.6796266" lon="23.6723991"> <time>2002-12-22T21:43:54Z</time> </trkpt>
796 # <trkpt lat="70.6800774" lon="23.6757566"> <time>2002-12-22T21:44:45Z</time> </trkpt>
797 # <trkpt lat="70.6801502" lon="23.6753442"> <time>2002-12-22T21:44:52Z</time> </trkpt>
798 # <trkpt lat="70.6801905" lon="23.6757542"> <time>2002-12-22T21:45:04Z</time> </trkpt>
803 not ok - "../gpst -o gpx no_signal.mayko" - Output GPX from Mayko file with duplicates (stderr)
804 # Failed test '"../gpst -o gpx no_signal.mayko" - Output GPX from Mayko file with duplicates (stderr)'
805 # at ./run-tests.pl line 2144.
806 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
807 # Execution of ../gpst aborted due to compilation errors.
810 not ok - "../gpst -o gpx comments.mayko" - Output GPX from Mayko file with commented-out lines
811 # Failed test '"../gpst -o gpx comments.mayko" - Output GPX from Mayko file with commented-out lines'
812 # at ./run-tests.pl line 2141.
814 # expected: '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
817 # creator="gpst - http://svn.sunbase.org/repos/utils/trunk/src/gpstools/"
818 # xmlns="http://www.topografix.com/GPX/1/1"
819 # xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
820 # xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"
824 # <trkpt lat="70.6800486" lon="23.6746151"> <time>2002-12-22T21:42:24Z</time> </trkpt>
825 # <trkpt lat="70.6799322" lon="23.6740038"> <time>2002-12-22T21:42:32Z</time> </trkpt>
826 # <trkpt lat="70.6796266" lon="23.6723991"> <time>2002-12-22T21:42:54Z</time> </trkpt>
827 # <!-- <trkpt lat="70.6796266" lon="23.6723991"> <time>2002-12-22T21:43:51Z</time> <extensions> <error>desc</error> </extensions> </trkpt> -->
828 # <!-- <trkpt lat="70.6796266" lon="23.6723991"> <time>2002-12-22T21:43:52Z</time> <extensions> <error>desc</error> </extensions> </trkpt> -->
829 # <!-- <trkpt lat="70.6796266" lon="23.6723991"> <time>2002-12-22T21:43:54Z</time> <extensions> <error>desc</error> </extensions> </trkpt> -->
830 # <trkpt lat="70.6800774" lon="23.6757566"> <time>2002-12-22T21:44:45Z</time> </trkpt>
833 # <trkpt lat="70.6801502" lon="23.6753442"> <time>2002-12-22T21:44:52Z</time> </trkpt>
834 # <trkpt lat="70.6801905" lon="23.6757542"> <time>2002-12-22T21:45:04Z</time> </trkpt>
839 not ok - "../gpst -o gpx comments.mayko" - Output GPX from Mayko file with commented-out lines (stderr)
840 # Failed test '"../gpst -o gpx comments.mayko" - Output GPX from Mayko file with commented-out lines (stderr)'
841 # at ./run-tests.pl line 2144.
842 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
843 # Execution of ../gpst aborted due to compilation errors.
846 not ok - "../gpst -o gpx missing-noname.gpsml" - Output GPX from gpsml with missing data
847 # Failed test '"../gpst -o gpx missing-noname.gpsml" - Output GPX from gpsml with missing data'
848 # at ./run-tests.pl line 2141.
850 # expected: '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
853 # creator="gpst - http://svn.sunbase.org/repos/utils/trunk/src/gpstools/"
854 # xmlns="http://www.topografix.com/GPX/1/1"
855 # xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
856 # xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"
860 # <trkpt lat="60.42353" lon="5.34185"> <time>2006-04-30T17:17:09Z</time> </trkpt>
861 # <trkpt> <ele>483</ele> <time>2006-04-30T17:17:11Z</time> </trkpt>
862 # <trkpt> <ele>485</ele> <time>2006-04-30T17:17:22Z</time> </trkpt>
863 # <trkpt lat="60.42347" lon="5.34212"> <ele>486</ele> </trkpt>
864 # <trkpt> <ele>484</ele> </trkpt>
865 # <trkpt> <ele>486</ele> </trkpt>
866 # <trkpt> <ele>490</ele> <time>2006-04-30T17:18:03Z</time> </trkpt>
867 # <trkpt lat="60.42338" lon="5.34269"> <ele>487</ele> <time>2006-04-30T17:18:05Z</time> </trkpt>
872 not ok - "../gpst -o gpx missing-noname.gpsml" - Output GPX from gpsml with missing data (stderr)
873 # Failed test '"../gpst -o gpx missing-noname.gpsml" - Output GPX from gpsml with missing data (stderr)'
874 # at ./run-tests.pl line 2144.
875 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
876 # Execution of ../gpst aborted due to compilation errors.
879 not ok - "../gpst -o xgraph multitrack.gpx" - Output xgraph format from GPX
880 # Failed test '"../gpst -o xgraph multitrack.gpx" - Output xgraph format from GPX'
881 # at ./run-tests.pl line 2141.
883 # expected: '-0.1448824 51.4968266
884 # -0.1449938 51.4968227
885 # -0.1453202 51.4969040
886 # move -0.1453398 51.4969214
887 # -0.1455514 51.4969816
888 # -0.1457489 51.4970224
889 # -0.1457804 51.4970452
890 # move -0.1458608 51.4970680
891 # -0.1460047 51.4971658
892 # -0.1461614 51.4972469
893 # move -0.1462394 51.4972731
894 # -0.1463232 51.4973437
895 # -0.1462949 51.4973337
896 # -0.1462825 51.4973218
897 # -0.1462732 51.4973145
899 not ok - "../gpst -o xgraph multitrack.gpx" - Output xgraph format from GPX (stderr)
900 # Failed test '"../gpst -o xgraph multitrack.gpx" - Output xgraph format from GPX (stderr)'
901 # at ./run-tests.pl line 2144.
902 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
903 # Execution of ../gpst aborted due to compilation errors.
906 not ok - "../gpst -o pgtab compact.gpx" - Output pgtab from gpx format
907 # Failed test '"../gpst -o pgtab compact.gpx" - Output pgtab from gpx format'
908 # at ./run-tests.pl line 2141.
910 # expected: '2002-12-30T15:22:04Z (70.6609320,23.7028354) \N \N \N \N
911 # 2002-12-30T15:22:06Z (70.6609392,23.7028468) \N \N \N \N
912 # 2002-12-30T15:22:08Z (70.6609429,23.7028499) \N \N \N \N
913 # 2002-12-30T15:22:11Z (70.6609381,23.7028620) \N \N \N \N
914 # 2002-12-30T15:22:12Z (70.6609368,23.7028648) \N \N \N \N
915 # 2002-12-30T15:22:13Z (70.6609344,23.7028652) \N \N \N \N
916 # 2002-12-30T15:22:15Z (70.6609349,23.7028707) \N \N \N \N
917 # 2002-12-30T15:22:17Z (70.6609348,23.7028654) \N \N \N \N
918 # 2002-12-30T15:22:19Z (70.6609347,23.7028599) \N \N \N \N
919 # 2002-12-30T15:22:20Z (70.6609348,23.7028609) \N \N \N \N
920 # 2002-12-30T15:22:23Z (70.6609388,23.7028653) \N \N \N \N
921 # 2002-12-30T15:22:25Z (70.6609426,23.7028732) \N \N \N \N
923 not ok - "../gpst -o pgtab compact.gpx" - Output pgtab from gpx format (stderr)
924 # Failed test '"../gpst -o pgtab compact.gpx" - Output pgtab from gpx format (stderr)'
925 # at ./run-tests.pl line 2144.
926 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
927 # Execution of ../gpst aborted due to compilation errors.
930 not ok - "../gpst -o pgtab no_signal.mayko" - Output pgtab from mayko format
931 # Failed test '"../gpst -o pgtab no_signal.mayko" - Output pgtab from mayko format'
932 # at ./run-tests.pl line 2141.
934 # expected: '2002-12-22T21:42:24Z (70.6800486,23.6746151) \N \N \N \N
935 # 2002-12-22T21:42:32Z (70.6799322,23.6740038) \N \N \N \N
936 # 2002-12-22T21:42:54Z (70.6796266,23.6723991) \N \N \N \N
937 # 2002-12-22T21:43:51Z (70.6796266,23.6723991) \N \N \N \N
938 # 2002-12-22T21:43:52Z (70.6796266,23.6723991) \N \N \N \N
939 # 2002-12-22T21:43:54Z (70.6796266,23.6723991) \N \N \N \N
940 # 2002-12-22T21:44:45Z (70.6800774,23.6757566) \N \N \N \N
941 # 2002-12-22T21:44:52Z (70.6801502,23.6753442) \N \N \N \N
942 # 2002-12-22T21:45:04Z (70.6801905,23.6757542) \N \N \N \N
944 not ok - "../gpst -o pgtab no_signal.mayko" - Output pgtab from mayko format (stderr)
945 # Failed test '"../gpst -o pgtab no_signal.mayko" - Output pgtab from mayko format (stderr)'
946 # at ./run-tests.pl line 2144.
947 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
948 # Execution of ../gpst aborted due to compilation errors.
951 not ok - "../gpst -o pgtab missing.gpsml" - Output pgtab from missing.gpsml
952 # Failed test '"../gpst -o pgtab missing.gpsml" - Output pgtab from missing.gpsml'
953 # at ./run-tests.pl line 2141.
955 # expected: '2006-04-30T17:17:09Z (60.42353,5.34185) \N \N \N \N
956 # \N (60.42347,5.34212) 486 \N \N \N
957 # 2006-04-30T17:18:05Z (60.42338,5.34269) 487 \N \N \N
959 not ok - "../gpst -o pgtab missing.gpsml" - Output pgtab from missing.gpsml (stderr)
960 # Failed test '"../gpst -o pgtab missing.gpsml" - Output pgtab from missing.gpsml (stderr)'
961 # at ./run-tests.pl line 2144.
962 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
963 # Execution of ../gpst aborted due to compilation errors.
966 not ok - "../gpst -o csv log.dos.mayko" - Output csv from DOS-formatted Mayko format
967 # Failed test '"../gpst -o csv log.dos.mayko" - Output csv from DOS-formatted Mayko format'
968 # at ./run-tests.pl line 2141.
970 # expected: '2003-06-15T10:27:45Z 8.1225077 58.1818158
971 # 2003-06-15T10:27:53Z 8.1253200 58.1818712
972 # 2003-06-15T10:27:57Z 8.1266031 58.1816347
973 # 2003-06-15T10:28:03Z 8.1284612 58.1812099
974 # 2003-06-15T10:28:06Z 8.1293950 58.1810315
975 # 2003-06-15T10:28:10Z 8.1307400 58.1809621
977 not ok - "../gpst -o csv log.dos.mayko" - Output csv from DOS-formatted Mayko format (stderr)
978 # Failed test '"../gpst -o csv log.dos.mayko" - Output csv from DOS-formatted Mayko format (stderr)'
979 # at ./run-tests.pl line 2144.
980 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
981 # Execution of ../gpst aborted due to compilation errors.
984 not ok - "../gpst -o pgwtab multitrack.gpx" - Test pgwtab format
985 # Failed test '"../gpst -o pgwtab multitrack.gpx" - Test pgwtab format'
986 # at ./run-tests.pl line 2141.
988 # expected: '(51.477880000,-0.001470000) 0-Meridian \N \N \N 11-FEB-03 15:46 11-FEB-03 15:46 \N \N
989 # (51.532030,-0.177330) Abbey Road 34.492798 \N \N Det hellige gangfeltet der Beatles valsa over. 26-FEB-06 17:29:46 \N \N
990 # (61.636684,8.312254) Galdhøpiggen med ', &, < og >. ☺ 2469.012939 mountain 2006-05-08T18:27:59Z Her er det &, < og >. ☺ Schwæra greie http://www.example.org/ Waypoint
991 # (60.397460000,5.350610000) Halfdan Griegs vei \N \N \N 04-AUG-02 19:42 04-AUG-02 19:42 \N \N
992 # (51.510130000,-0.130410000) Leicester Square \N \N \N 11-FEB-03 18:00 11-FEB-03 18:00 \N \N
993 # (60.968540000,9.285350000) Leira camping \N \N \N 03-OKT-02 21:58 03-OKT-02 21:58 \N \N
995 not ok - "../gpst -o pgwtab multitrack.gpx" - Test pgwtab format (stderr)
996 # Failed test '"../gpst -o pgwtab multitrack.gpx" - Test pgwtab format (stderr)'
997 # at ./run-tests.pl line 2144.
998 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
999 # Execution of ../gpst aborted due to compilation errors.
1002 not ok - "../gpst -o pgwupd multitrack.gpx" - Test pgwupd format
1003 # Failed test '"../gpst -o pgwupd multitrack.gpx" - Test pgwupd format'
1004 # at ./run-tests.pl line 2141.
1007 # UPDATE logg SET name = clname(coor) WHERE (point(51.477880000,-0.001470000) <-> coor) < 0.05;
1008 # UPDATE logg SET dist = cldist(coor) WHERE (point(51.477880000,-0.001470000) <-> coor) < 0.05;
1011 # UPDATE logg SET name = clname(coor) WHERE (point(51.532030,-0.177330) <-> coor) < 0.05;
1012 # UPDATE logg SET dist = cldist(coor) WHERE (point(51.532030,-0.177330) <-> coor) < 0.05;
1015 # UPDATE logg SET name = clname(coor) WHERE (point(61.636684,8.312254) <-> coor) < 0.05;
1016 # UPDATE logg SET dist = cldist(coor) WHERE (point(61.636684,8.312254) <-> coor) < 0.05;
1019 # UPDATE logg SET name = clname(coor) WHERE (point(60.397460000,5.350610000) <-> coor) < 0.05;
1020 # UPDATE logg SET dist = cldist(coor) WHERE (point(60.397460000,5.350610000) <-> coor) < 0.05;
1023 # UPDATE logg SET name = clname(coor) WHERE (point(51.510130000,-0.130410000) <-> coor) < 0.05;
1024 # UPDATE logg SET dist = cldist(coor) WHERE (point(51.510130000,-0.130410000) <-> coor) < 0.05;
1027 # UPDATE logg SET name = clname(coor) WHERE (point(60.968540000,9.285350000) <-> coor) < 0.05;
1028 # UPDATE logg SET dist = cldist(coor) WHERE (point(60.968540000,9.285350000) <-> coor) < 0.05;
1031 not ok - "../gpst -o pgwupd multitrack.gpx" - Test pgwupd format (stderr)
1032 # Failed test '"../gpst -o pgwupd multitrack.gpx" - Test pgwupd format (stderr)'
1033 # at ./run-tests.pl line 2144.
1034 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1035 # Execution of ../gpst aborted due to compilation errors.
1038 not ok - "../gpst -t -o clean pause.gpx" - Output clean format with time breaks
1039 # Failed test '"../gpst -t -o clean pause.gpx" - Output clean format with time breaks'
1040 # at ./run-tests.pl line 2141.
1042 # expected: '5.299534 60.425494 25.260
1043 # 5.299610 60.425464 24.931
1045 # 5.299694 60.425314 27.975
1047 # 5.299741 60.425384 31.017
1048 # 5.299958 60.425339 30.980
1049 # 5.299640 60.425238 30.538
1050 # 5.299686 60.425246 30.515
1052 # 5.299773 60.425345 31.936
1053 # 5.299419 60.425457 31.794
1055 not ok - "../gpst -t -o clean pause.gpx" - Output clean format with time breaks (stderr)
1056 # Failed test '"../gpst -t -o clean pause.gpx" - Output clean format with time breaks (stderr)'
1057 # at ./run-tests.pl line 2144.
1058 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1059 # Execution of ../gpst aborted due to compilation errors.
1062 # Testing --outside option...
1063 not ok - "../gpst --pos1 2.11,2.12 --pos2 3.31,3.32 --outside multitrack-pause.gpx" - Check --outside option (gpx to gpst)
1064 # Failed test '"../gpst --pos1 2.11,2.12 --pos2 3.31,3.32 --outside multitrack-pause.gpx" - Check --outside option (gpx to gpst)'
1065 # at ./run-tests.pl line 2141.
1067 # expected: '<?xml version="1.0" encoding="UTF-8"?>
1070 # <title>track1</title>
1071 # <tp> <time>2006-01-01T00:00:00Z</time> <lat>1.11</lat> <lon>1.12</lon> </tp>
1072 # <tp> <time>2006-01-01T00:00:01Z</time> <lat>1.21</lat> <lon>1.22</lon> </tp>
1073 # <tp> <time>2006-01-01T00:00:02Z</time> <lat>1.31</lat> <lon>1.32</lon> </tp>
1075 # <title>track2</title>
1077 # <title>track3</title>
1079 # <tp> <time>2006-01-03T02:00:23Z</time> <lat>3.41</lat> <lon>3.42</lon> </tp>
1080 # <tp> <time>2006-01-03T02:00:24Z</time> <lat>3.51</lat> <lon>3.52</lon> </tp>
1081 # <tp> <time>2006-01-03T02:00:25Z</time> <lat>3.61</lat> <lon>3.62</lon> </tp>
1082 # <tp> <time>2006-01-03T02:00:26Z</time> <lat>3.71</lat> <lon>3.72</lon> </tp>
1083 # <tp> <time>2006-01-03T02:00:27Z</time> <lat>3.81</lat> <lon>3.82</lon> </tp>
1087 not ok - "../gpst --pos1 2.11,2.12 --pos2 3.31,3.32 --outside multitrack-pause.gpx" - Check --outside option (gpx to gpst) (stderr)
1088 # Failed test '"../gpst --pos1 2.11,2.12 --pos2 3.31,3.32 --outside multitrack-pause.gpx" - Check --outside option (gpx to gpst) (stderr)'
1089 # at ./run-tests.pl line 2144.
1090 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1091 # Execution of ../gpst aborted due to compilation errors.
1094 # Testing --pos1 and --pos2 options...
1095 # Testing --require option...
1096 not ok - "../gpst -re multitrack.gpx" - Require elevation from GPX data
1097 # Failed test '"../gpst -re multitrack.gpx" - Require elevation from GPX data'
1098 # at ./run-tests.pl line 2141.
1100 # expected: '<?xml version="1.0" encoding="UTF-8"?>
1103 # <title>Track 1</title>
1105 # <title>Track 2</title>
1106 # <tp> <time>2003-02-11T23:36:43Z</time> <lat>51.4970224</lat> <lon>-0.1457489</lon> <ele>1000</ele> </tp>
1108 # <title>Track 3</title>
1110 # <title>Track 4</title>
1114 not ok - "../gpst -re multitrack.gpx" - Require elevation from GPX data (stderr)
1115 # Failed test '"../gpst -re multitrack.gpx" - Require elevation from GPX data (stderr)'
1116 # at ./run-tests.pl line 2144.
1117 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1118 # Execution of ../gpst aborted due to compilation errors.
1121 not ok - "../gpst -re one_ele.dos.gpsml" - Require elevation from gpsml
1122 # Failed test '"../gpst -re one_ele.dos.gpsml" - Require elevation from gpsml'
1123 # at ./run-tests.pl line 2141.
1125 # expected: '<?xml version="1.0" encoding="UTF-8"?>
1128 # <title>Only one point has elevation</title>
1129 # <tp> <time>2006-05-21T16:52:04Z</time> <lat>60.425314</lat> <lon>5.299694</lon> <ele>27.975</ele> </tp>
1133 not ok - "../gpst -re one_ele.dos.gpsml" - Require elevation from gpsml (stderr)
1134 # Failed test '"../gpst -re one_ele.dos.gpsml" - Require elevation from gpsml (stderr)'
1135 # at ./run-tests.pl line 2144.
1136 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1137 # Execution of ../gpst aborted due to compilation errors.
1140 not ok - "../gpst -re missing.gpsml" - Require elevation
1141 # Failed test '"../gpst -re missing.gpsml" - Require elevation'
1142 # at ./run-tests.pl line 2141.
1144 # expected: '<?xml version="1.0" encoding="UTF-8"?>
1147 # <title>Missing various elements</title>
1148 # <tp> <time>2006-04-30T17:17:11Z</time> <lon>5.34187</lon> <ele>483</ele> </tp>
1149 # <tp> <time>2006-04-30T17:17:22Z</time> <ele>485</ele> </tp>
1150 # <tp> <lat>60.42347</lat> <lon>5.34212</lon> <ele>486</ele> </tp>
1151 # <tp> <lon>5.34224</lon> <ele>484</ele> </tp>
1152 # <tp> <ele>486</ele> </tp>
1153 # <tp> <time>2006-04-30T17:18:03Z</time> <lat>60.42339</lat> <ele>490</ele> </tp>
1154 # <tp> <time>2006-04-30T17:18:05Z</time> <lat>60.42338</lat> <lon>5.34269</lon> <ele>487</ele> </tp>
1158 not ok - "../gpst -re missing.gpsml" - Require elevation (stderr)
1159 # Failed test '"../gpst -re missing.gpsml" - Require elevation (stderr)'
1160 # at ./run-tests.pl line 2144.
1161 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1162 # Execution of ../gpst aborted due to compilation errors.
1165 not ok - "../gpst -rt missing.gpsml" - Require time
1166 # Failed test '"../gpst -rt missing.gpsml" - Require time'
1167 # at ./run-tests.pl line 2141.
1169 # expected: '<?xml version="1.0" encoding="UTF-8"?>
1172 # <title>Missing various elements</title>
1173 # <tp> <time>2006-04-30T17:16:59Z</time> </tp>
1174 # <tp> <time>2006-04-30T17:17:00Z</time> <lat>60.42352</lat> </tp>
1175 # <tp> <time>2006-04-30T17:17:09Z</time> <lat>60.42353</lat> <lon>5.34185</lon> </tp>
1176 # <tp> <time>2006-04-30T17:17:11Z</time> <lon>5.34187</lon> <ele>483</ele> </tp>
1177 # <tp> <time>2006-04-30T17:17:22Z</time> <ele>485</ele> </tp>
1178 # <tp> <time>2006-04-30T17:18:03Z</time> <lat>60.42339</lat> <ele>490</ele> </tp>
1179 # <tp> <time>2006-04-30T17:18:05Z</time> <lat>60.42338</lat> <lon>5.34269</lon> <ele>487</ele> </tp>
1183 not ok - "../gpst -rt missing.gpsml" - Require time (stderr)
1184 # Failed test '"../gpst -rt missing.gpsml" - Require time (stderr)'
1185 # at ./run-tests.pl line 2144.
1186 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1187 # Execution of ../gpst aborted due to compilation errors.
1190 not ok - "../gpst -rp missing.gpsml" - Require position
1191 # Failed test '"../gpst -rp missing.gpsml" - Require position'
1192 # at ./run-tests.pl line 2141.
1194 # expected: '<?xml version="1.0" encoding="UTF-8"?>
1197 # <title>Missing various elements</title>
1198 # <tp> <time>2006-04-30T17:17:09Z</time> <lat>60.42353</lat> <lon>5.34185</lon> </tp>
1199 # <tp> <lat>60.42347</lat> <lon>5.34212</lon> <ele>486</ele> </tp>
1200 # <tp> <time>2006-04-30T17:18:05Z</time> <lat>60.42338</lat> <lon>5.34269</lon> <ele>487</ele> </tp>
1204 not ok - "../gpst -rp missing.gpsml" - Require position (stderr)
1205 # Failed test '"../gpst -rp missing.gpsml" - Require position (stderr)'
1206 # at ./run-tests.pl line 2144.
1207 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1208 # Execution of ../gpst aborted due to compilation errors.
1211 not ok - "../gpst -ret missing.gpsml" - Require elevation and time
1212 # Failed test '"../gpst -ret missing.gpsml" - Require elevation and time'
1213 # at ./run-tests.pl line 2141.
1215 # expected: '<?xml version="1.0" encoding="UTF-8"?>
1218 # <title>Missing various elements</title>
1219 # <tp> <time>2006-04-30T17:17:11Z</time> <lon>5.34187</lon> <ele>483</ele> </tp>
1220 # <tp> <time>2006-04-30T17:17:22Z</time> <ele>485</ele> </tp>
1221 # <tp> <time>2006-04-30T17:18:03Z</time> <lat>60.42339</lat> <ele>490</ele> </tp>
1222 # <tp> <time>2006-04-30T17:18:05Z</time> <lat>60.42338</lat> <lon>5.34269</lon> <ele>487</ele> </tp>
1226 not ok - "../gpst -ret missing.gpsml" - Require elevation and time (stderr)
1227 # Failed test '"../gpst -ret missing.gpsml" - Require elevation and time (stderr)'
1228 # at ./run-tests.pl line 2144.
1229 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1230 # Execution of ../gpst aborted due to compilation errors.
1233 not ok - "../gpst -retp missing.gpsml" - Require elevation, time and position
1234 # Failed test '"../gpst -retp missing.gpsml" - Require elevation, time and position'
1235 # at ./run-tests.pl line 2141.
1237 # expected: '<?xml version="1.0" encoding="UTF-8"?>
1240 # <title>Missing various elements</title>
1241 # <tp> <time>2006-04-30T17:18:05Z</time> <lat>60.42338</lat> <lon>5.34269</lon> <ele>487</ele> </tp>
1245 not ok - "../gpst -retp missing.gpsml" - Require elevation, time and position (stderr)
1246 # Failed test '"../gpst -retp missing.gpsml" - Require elevation, time and position (stderr)'
1247 # at ./run-tests.pl line 2144.
1248 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1249 # Execution of ../gpst aborted due to compilation errors.
1252 not ok - "../gpst -rep missing.gpsml" - Require elevation and position
1253 # Failed test '"../gpst -rep missing.gpsml" - Require elevation and position'
1254 # at ./run-tests.pl line 2141.
1256 # expected: '<?xml version="1.0" encoding="UTF-8"?>
1259 # <title>Missing various elements</title>
1260 # <tp> <lat>60.42347</lat> <lon>5.34212</lon> <ele>486</ele> </tp>
1261 # <tp> <time>2006-04-30T17:18:05Z</time> <lat>60.42338</lat> <lon>5.34269</lon> <ele>487</ele> </tp>
1265 not ok - "../gpst -rep missing.gpsml" - Require elevation and position (stderr)
1266 # Failed test '"../gpst -rep missing.gpsml" - Require elevation and position (stderr)'
1267 # at ./run-tests.pl line 2144.
1268 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1269 # Execution of ../gpst aborted due to compilation errors.
1272 # Testing --round option...
1273 not ok - "../gpst -R lat=4,lon=5,ele=1 pause.gpx" - --round works with lat, lon, ele from gpx
1274 # Failed test '"../gpst -R lat=4,lon=5,ele=1 pause.gpx" - --round works with lat, lon, ele from gpx'
1275 # at ./run-tests.pl line 2141.
1277 # expected: '<?xml version="1.0" encoding="UTF-8"?>
1280 # <title>ACTIVE LOG164705</title>
1281 # <tp> <time>2006-05-21T16:49:11Z</time> <lat>60.4255</lat> <lon>5.29953</lon> <ele>25.3</ele> </tp>
1282 # <tp> <time>2006-05-21T16:49:46Z</time> <lat>60.4255</lat> <lon>5.29961</lon> <ele>24.9</ele> </tp>
1283 # <tp> <time>2006-05-21T16:52:04Z</time> <lat>60.4253</lat> <lon>5.29969</lon> <ele>28</ele> </tp>
1284 # <tp> <time>2006-05-21T16:56:36Z</time> <lat>60.4254</lat> <lon>5.29974</lon> <ele>31</ele> </tp>
1285 # <tp> <time>2006-05-21T16:56:47Z</time> <lat>60.4253</lat> <lon>5.29996</lon> <ele>31</ele> </tp>
1286 # <tp> <time>2006-05-21T16:56:56Z</time> <lat>60.4252</lat> <lon>5.29964</lon> <ele>30.5</ele> </tp>
1287 # <tp> <time>2006-05-21T16:57:03Z</time> <lat>60.4252</lat> <lon>5.29969</lon> <ele>30.5</ele> </tp>
1288 # <tp> <time>2006-05-21T16:59:08Z</time> <lat>60.4253</lat> <lon>5.29977</lon> <ele>31.9</ele> </tp>
1289 # <tp> <time>2006-05-21T17:00:54Z</time> <lat>60.4255</lat> <lon>5.29942</lon> <ele>31.8</ele> </tp>
1293 not ok - "../gpst -R lat=4,lon=5,ele=1 pause.gpx" - --round works with lat, lon, ele from gpx (stderr)
1294 # Failed test '"../gpst -R lat=4,lon=5,ele=1 pause.gpx" - --round works with lat, lon, ele from gpx (stderr)'
1295 # at ./run-tests.pl line 2144.
1296 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1297 # Execution of ../gpst aborted due to compilation errors.
1300 not ok - "../gpst -R lat=3,lon=3,ele=1 -o pgtab pause.gpx" - pgtab output from gpx works with --round lat, lon, ele
1301 # Failed test '"../gpst -R lat=3,lon=3,ele=1 -o pgtab pause.gpx" - pgtab output from gpx works with --round lat, lon, ele'
1302 # at ./run-tests.pl line 2141.
1304 # expected: '2006-05-21T16:49:11Z (60.425,5.3) 25.3 \N \N \N
1305 # 2006-05-21T16:49:46Z (60.425,5.3) 24.9 \N \N \N
1306 # 2006-05-21T16:52:04Z (60.425,5.3) 28 \N \N \N
1307 # 2006-05-21T16:56:36Z (60.425,5.3) 31 \N \N \N
1308 # 2006-05-21T16:56:47Z (60.425,5.3) 31 \N \N \N
1309 # 2006-05-21T16:56:56Z (60.425,5.3) 30.5 \N \N \N
1310 # 2006-05-21T16:57:03Z (60.425,5.3) 30.5 \N \N \N
1311 # 2006-05-21T16:59:08Z (60.425,5.3) 31.9 \N \N \N
1312 # 2006-05-21T17:00:54Z (60.425,5.299) 31.8 \N \N \N
1314 not ok - "../gpst -R lat=3,lon=3,ele=1 -o pgtab pause.gpx" - pgtab output from gpx works with --round lat, lon, ele (stderr)
1315 # Failed test '"../gpst -R lat=3,lon=3,ele=1 -o pgtab pause.gpx" - pgtab output from gpx works with --round lat, lon, ele (stderr)'
1316 # at ./run-tests.pl line 2144.
1317 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1318 # Execution of ../gpst aborted due to compilation errors.
1321 not ok - "../gpst -R lat=3,lon=3,ele=1 -o pgwtab multitrack.gpx" - --round works with lat, lon, ele from gpx, pgwtab output
1322 # Failed test '"../gpst -R lat=3,lon=3,ele=1 -o pgwtab multitrack.gpx" - --round works with lat, lon, ele from gpx, pgwtab output'
1323 # at ./run-tests.pl line 2141.
1325 # expected: '(51.478,-0.001) 0-Meridian \N \N \N 11-FEB-03 15:46 11-FEB-03 15:46 \N \N
1326 # (51.532,-0.177) Abbey Road 34.5 \N \N Det hellige gangfeltet der Beatles valsa over. 26-FEB-06 17:29:46 \N \N
1327 # (61.637,8.312) Galdhøpiggen med ', &, < og >. ☺ 2469 mountain 2006-05-08T18:27:59Z Her er det &, < og >. ☺ Schwæra greie http://www.example.org/ Waypoint
1328 # (60.397,5.351) Halfdan Griegs vei \N \N \N 04-AUG-02 19:42 04-AUG-02 19:42 \N \N
1329 # (51.51,-0.13) Leicester Square \N \N \N 11-FEB-03 18:00 11-FEB-03 18:00 \N \N
1330 # (60.969,9.285) Leira camping \N \N \N 03-OKT-02 21:58 03-OKT-02 21:58 \N \N
1332 not ok - "../gpst -R lat=3,lon=3,ele=1 -o pgwtab multitrack.gpx" - --round works with lat, lon, ele from gpx, pgwtab output (stderr)
1333 # Failed test '"../gpst -R lat=3,lon=3,ele=1 -o pgwtab multitrack.gpx" - --round works with lat, lon, ele from gpx, pgwtab output (stderr)'
1334 # at ./run-tests.pl line 2144.
1335 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1336 # Execution of ../gpst aborted due to compilation errors.
1339 not ok - "../gpst -R lat=3,lon=3,ele=1 -o pgwupd multitrack.gpx" - pgwupd output and --round works with lat, lon, ele from gpx
1340 # Failed test '"../gpst -R lat=3,lon=3,ele=1 -o pgwupd multitrack.gpx" - pgwupd output and --round works with lat, lon, ele from gpx'
1341 # at ./run-tests.pl line 2141.
1344 # UPDATE logg SET name = clname(coor) WHERE (point(51.478,-0.001) <-> coor) < 0.05;
1345 # UPDATE logg SET dist = cldist(coor) WHERE (point(51.478,-0.001) <-> coor) < 0.05;
1348 # UPDATE logg SET name = clname(coor) WHERE (point(51.532,-0.177) <-> coor) < 0.05;
1349 # UPDATE logg SET dist = cldist(coor) WHERE (point(51.532,-0.177) <-> coor) < 0.05;
1352 # UPDATE logg SET name = clname(coor) WHERE (point(61.637,8.312) <-> coor) < 0.05;
1353 # UPDATE logg SET dist = cldist(coor) WHERE (point(61.637,8.312) <-> coor) < 0.05;
1356 # UPDATE logg SET name = clname(coor) WHERE (point(60.397,5.351) <-> coor) < 0.05;
1357 # UPDATE logg SET dist = cldist(coor) WHERE (point(60.397,5.351) <-> coor) < 0.05;
1360 # UPDATE logg SET name = clname(coor) WHERE (point(51.51,-0.13) <-> coor) < 0.05;
1361 # UPDATE logg SET dist = cldist(coor) WHERE (point(51.51,-0.13) <-> coor) < 0.05;
1364 # UPDATE logg SET name = clname(coor) WHERE (point(60.969,9.285) <-> coor) < 0.05;
1365 # UPDATE logg SET dist = cldist(coor) WHERE (point(60.969,9.285) <-> coor) < 0.05;
1368 not ok - "../gpst -R lat=3,lon=3,ele=1 -o pgwupd multitrack.gpx" - pgwupd output and --round works with lat, lon, ele from gpx (stderr)
1369 # Failed test '"../gpst -R lat=3,lon=3,ele=1 -o pgwupd multitrack.gpx" - pgwupd output and --round works with lat, lon, ele from gpx (stderr)'
1370 # at ./run-tests.pl line 2144.
1371 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1372 # Execution of ../gpst aborted due to compilation errors.
1375 # Testing --short-date option...
1376 # Testing --save-to-file option...
1377 # Testing --create-breaks option...
1378 not ok - "../gpst -t pause.gpx" - Output gpsml with <pause> elements from GPX files
1379 # Failed test '"../gpst -t pause.gpx" - Output gpsml with <pause> elements from GPX files'
1380 # at ./run-tests.pl line 2141.
1382 # expected: '<?xml version="1.0" encoding="UTF-8"?>
1385 # <title>ACTIVE LOG164705</title>
1386 # <tp> <time>2006-05-21T16:49:11Z</time> <lat>60.425494</lat> <lon>5.299534</lon> <ele>25.26</ele> </tp>
1387 # <tp> <time>2006-05-21T16:49:46Z</time> <lat>60.425464</lat> <lon>5.29961</lon> <ele>24.931</ele> </tp>
1388 # <pause>0:00:02:18</pause>
1389 # <tp> <time>2006-05-21T16:52:04Z</time> <lat>60.425314</lat> <lon>5.299694</lon> <ele>27.975</ele> </tp>
1390 # <pause>0:00:04:32</pause>
1391 # <tp> <time>2006-05-21T16:56:36Z</time> <lat>60.425384</lat> <lon>5.299741</lon> <ele>31.017</ele> </tp>
1392 # <tp> <time>2006-05-21T16:56:47Z</time> <lat>60.425339</lat> <lon>5.299958</lon> <ele>30.98</ele> </tp>
1393 # <tp> <time>2006-05-21T16:56:56Z</time> <lat>60.425238</lat> <lon>5.29964</lon> <ele>30.538</ele> </tp>
1394 # <tp> <time>2006-05-21T16:57:03Z</time> <lat>60.425246</lat> <lon>5.299686</lon> <ele>30.515</ele> </tp>
1395 # <pause>0:00:02:05</pause>
1396 # <tp> <time>2006-05-21T16:59:08Z</time> <lat>60.425345</lat> <lon>5.299773</lon> <ele>31.936</ele> </tp>
1397 # <tp> <time>2006-05-21T17:00:54Z</time> <lat>60.425457</lat> <lon>5.299419</lon> <ele>31.794</ele> </tp>
1401 not ok - "../gpst -t pause.gpx" - Output gpsml with <pause> elements from GPX files (stderr)
1402 # Failed test '"../gpst -t pause.gpx" - Output gpsml with <pause> elements from GPX files (stderr)'
1403 # at ./run-tests.pl line 2144.
1404 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1405 # Execution of ../gpst aborted due to compilation errors.
1408 not ok - "../gpst -t multitrack-pause.gpx" - Insert <pause> between gpx tracks
1409 # Failed test '"../gpst -t multitrack-pause.gpx" - Insert <pause> between gpx tracks'
1410 # at ./run-tests.pl line 2141.
1412 # expected: '<?xml version="1.0" encoding="UTF-8"?>
1415 # <title>track1</title>
1416 # <tp> <time>2006-01-01T00:00:00Z</time> <lat>1.11</lat> <lon>1.12</lon> </tp>
1417 # <tp> <time>2006-01-01T00:00:01Z</time> <lat>1.21</lat> <lon>1.22</lon> </tp>
1418 # <tp> <time>2006-01-01T00:00:02Z</time> <lat>1.31</lat> <lon>1.32</lon> </tp>
1420 # <title>track2</title>
1421 # <pause>0:23:59:58</pause>
1422 # <tp> <time>2006-01-02T00:00:00Z</time> <lat>2.11</lat> <lon>2.12</lon> </tp>
1423 # <tp> <time>2006-01-02T00:00:04Z</time> <lat>2.21</lat> <lon>2.22</lon> </tp>
1424 # <tp> <time>2006-01-02T00:00:16Z</time> <lat>2.31</lat> <lon>2.32</lon> </tp>
1425 # <pause>0:01:00:00</pause>
1426 # <tp> <time>2006-01-02T01:00:16Z</time> <lat>2.41</lat> <lon>2.42</lon> </tp>
1428 # <tp> <time>2006-01-02T01:00:17Z</time> <lat>2.451</lat> <lon>2.452</lon> </tp>
1430 # <title>track3</title>
1431 # <pause>1:01:00:03</pause>
1432 # <tp> <time>2006-01-03T02:00:20Z</time> <lat>3.11</lat> <lon>3.12</lon> </tp>
1433 # <tp> <time>2006-01-03T02:00:21Z</time> <lat>3.21</lat> <lon>3.22</lon> </tp>
1434 # <tp> <time>2006-01-03T02:00:22Z</time> <lat>3.31</lat> <lon>3.32</lon> </tp>
1436 # <tp> <time>2006-01-03T02:00:23Z</time> <lat>3.41</lat> <lon>3.42</lon> </tp>
1437 # <tp> <time>2006-01-03T02:00:24Z</time> <lat>3.51</lat> <lon>3.52</lon> </tp>
1438 # <tp> <time>2006-01-03T02:00:25Z</time> <lat>3.61</lat> <lon>3.62</lon> </tp>
1439 # <tp> <time>2006-01-03T02:00:26Z</time> <lat>3.71</lat> <lon>3.72</lon> </tp>
1440 # <tp> <time>2006-01-03T02:00:27Z</time> <lat>3.81</lat> <lon>3.82</lon> </tp>
1444 not ok - "../gpst -t multitrack-pause.gpx" - Insert <pause> between gpx tracks (stderr)
1445 # Failed test '"../gpst -t multitrack-pause.gpx" - Insert <pause> between gpx tracks (stderr)'
1446 # at ./run-tests.pl line 2144.
1447 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1448 # Execution of ../gpst aborted due to compilation errors.
1451 not ok - "../gpst -t multitrack-pause.gpsml" - Insert <pause> between gpsml titles
1452 # Failed test '"../gpst -t multitrack-pause.gpsml" - Insert <pause> between gpsml titles'
1453 # at ./run-tests.pl line 2141.
1455 # expected: '<?xml version="1.0" encoding="UTF-8"?>
1458 # <title>track1</title>
1459 # <tp> <time>2006-01-01T00:00:00Z</time> <lat>1.11</lat> <lon>1.12</lon> </tp>
1460 # <tp> <time>2006-01-01T00:00:01Z</time> <lat>1.21</lat> <lon>1.22</lon> </tp>
1461 # <tp> <time>2006-01-01T00:00:02Z</time> <lat>1.31</lat> <lon>1.32</lon> </tp>
1463 # <title>track2</title>
1464 # <pause>0:23:59:58</pause>
1465 # <tp> <time>2006-01-02T00:00:00Z</time> <lat>2.11</lat> <lon>2.12</lon> </tp>
1466 # <tp> <time>2006-01-02T00:00:04Z</time> <lat>2.21</lat> <lon>2.22</lon> </tp>
1467 # <tp> <time>2006-01-02T00:00:16Z</time> <lat>2.31</lat> <lon>2.32</lon> </tp>
1468 # <pause>0:01:00:00</pause>
1469 # <tp> <time>2006-01-02T01:00:16Z</time> <lat>2.41</lat> <lon>2.42</lon> </tp>
1471 # <tp> <time>2006-01-02T01:00:17Z</time> <lat>2.451</lat> <lon>2.452</lon> </tp>
1473 # <title>track3</title>
1474 # <pause>1:01:00:03</pause>
1475 # <tp> <time>2006-01-03T02:00:20Z</time> <lat>3.11</lat> <lon>3.12</lon> </tp>
1476 # <tp> <time>2006-01-03T02:00:21Z</time> <lat>3.21</lat> <lon>3.22</lon> </tp>
1477 # <tp> <time>2006-01-03T02:00:22Z</time> <lat>3.31</lat> <lon>3.32</lon> </tp>
1479 # <tp> <time>2006-01-03T02:00:23Z</time> <lat>3.41</lat> <lon>3.42</lon> </tp>
1480 # <tp> <time>2006-01-03T02:00:24Z</time> <lat>3.51</lat> <lon>3.52</lon> </tp>
1481 # <tp> <time>2006-01-03T02:00:25Z</time> <lat>3.61</lat> <lon>3.62</lon> </tp>
1482 # <tp> <time>2006-01-03T02:00:26Z</time> <lat>3.71</lat> <lon>3.72</lon> </tp>
1483 # <tp> <time>2006-01-03T02:00:27Z</time> <lat>3.81</lat> <lon>3.82</lon> </tp>
1487 not ok - "../gpst -t multitrack-pause.gpsml" - Insert <pause> between gpsml titles (stderr)
1488 # Failed test '"../gpst -t multitrack-pause.gpsml" - Insert <pause> between gpsml titles (stderr)'
1489 # at ./run-tests.pl line 2144.
1490 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1491 # Execution of ../gpst aborted due to compilation errors.
1494 # Testing -T (--time-shift) option...
1495 not ok - "../gpst -T 3600 multitrack-pause.gpx" - Add one hour to GPX input, output gpsml
1496 # Failed test '"../gpst -T 3600 multitrack-pause.gpx" - Add one hour to GPX input, output gpsml'
1497 # at ./run-tests.pl line 2141.
1499 # expected: '<?xml version="1.0" encoding="UTF-8"?>
1502 # <title>track1</title>
1503 # <tp> <time>2006-01-01T01:00:00Z</time> <lat>1.11</lat> <lon>1.12</lon> </tp>
1504 # <tp> <time>2006-01-01T01:00:01Z</time> <lat>1.21</lat> <lon>1.22</lon> </tp>
1505 # <tp> <time>2006-01-01T01:00:02Z</time> <lat>1.31</lat> <lon>1.32</lon> </tp>
1507 # <title>track2</title>
1508 # <tp> <time>2006-01-02T01:00:00Z</time> <lat>2.11</lat> <lon>2.12</lon> </tp>
1509 # <tp> <time>2006-01-02T01:00:04Z</time> <lat>2.21</lat> <lon>2.22</lon> </tp>
1510 # <tp> <time>2006-01-02T01:00:16Z</time> <lat>2.31</lat> <lon>2.32</lon> </tp>
1511 # <tp> <time>2006-01-02T02:00:16Z</time> <lat>2.41</lat> <lon>2.42</lon> </tp>
1513 # <tp> <time>2006-01-02T02:00:17Z</time> <lat>2.451</lat> <lon>2.452</lon> </tp>
1515 # <title>track3</title>
1516 # <tp> <time>2006-01-03T03:00:20Z</time> <lat>3.11</lat> <lon>3.12</lon> </tp>
1517 # <tp> <time>2006-01-03T03:00:21Z</time> <lat>3.21</lat> <lon>3.22</lon> </tp>
1518 # <tp> <time>2006-01-03T03:00:22Z</time> <lat>3.31</lat> <lon>3.32</lon> </tp>
1520 # <tp> <time>2006-01-03T03:00:23Z</time> <lat>3.41</lat> <lon>3.42</lon> </tp>
1521 # <tp> <time>2006-01-03T03:00:24Z</time> <lat>3.51</lat> <lon>3.52</lon> </tp>
1522 # <tp> <time>2006-01-03T03:00:25Z</time> <lat>3.61</lat> <lon>3.62</lon> </tp>
1523 # <tp> <time>2006-01-03T03:00:26Z</time> <lat>3.71</lat> <lon>3.72</lon> </tp>
1524 # <tp> <time>2006-01-03T03:00:27Z</time> <lat>3.81</lat> <lon>3.82</lon> </tp>
1528 not ok - "../gpst -T 3600 multitrack-pause.gpx" - Add one hour to GPX input, output gpsml (stderr)
1529 # Failed test '"../gpst -T 3600 multitrack-pause.gpx" - Add one hour to GPX input, output gpsml (stderr)'
1530 # at ./run-tests.pl line 2144.
1531 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1532 # Execution of ../gpst aborted due to compilation errors.
1535 not ok - "../gpst -T -3600 multitrack-pause.gpx" - Subtract one hour from GPX input, output gpsml
1536 # Failed test '"../gpst -T -3600 multitrack-pause.gpx" - Subtract one hour from GPX input, output gpsml'
1537 # at ./run-tests.pl line 2141.
1539 # expected: '<?xml version="1.0" encoding="UTF-8"?>
1542 # <title>track1</title>
1543 # <tp> <time>2005-12-31T23:00:00Z</time> <lat>1.11</lat> <lon>1.12</lon> </tp>
1544 # <tp> <time>2005-12-31T23:00:01Z</time> <lat>1.21</lat> <lon>1.22</lon> </tp>
1545 # <tp> <time>2005-12-31T23:00:02Z</time> <lat>1.31</lat> <lon>1.32</lon> </tp>
1547 # <title>track2</title>
1548 # <tp> <time>2006-01-01T23:00:00Z</time> <lat>2.11</lat> <lon>2.12</lon> </tp>
1549 # <tp> <time>2006-01-01T23:00:04Z</time> <lat>2.21</lat> <lon>2.22</lon> </tp>
1550 # <tp> <time>2006-01-01T23:00:16Z</time> <lat>2.31</lat> <lon>2.32</lon> </tp>
1551 # <tp> <time>2006-01-02T00:00:16Z</time> <lat>2.41</lat> <lon>2.42</lon> </tp>
1553 # <tp> <time>2006-01-02T00:00:17Z</time> <lat>2.451</lat> <lon>2.452</lon> </tp>
1555 # <title>track3</title>
1556 # <tp> <time>2006-01-03T01:00:20Z</time> <lat>3.11</lat> <lon>3.12</lon> </tp>
1557 # <tp> <time>2006-01-03T01:00:21Z</time> <lat>3.21</lat> <lon>3.22</lon> </tp>
1558 # <tp> <time>2006-01-03T01:00:22Z</time> <lat>3.31</lat> <lon>3.32</lon> </tp>
1560 # <tp> <time>2006-01-03T01:00:23Z</time> <lat>3.41</lat> <lon>3.42</lon> </tp>
1561 # <tp> <time>2006-01-03T01:00:24Z</time> <lat>3.51</lat> <lon>3.52</lon> </tp>
1562 # <tp> <time>2006-01-03T01:00:25Z</time> <lat>3.61</lat> <lon>3.62</lon> </tp>
1563 # <tp> <time>2006-01-03T01:00:26Z</time> <lat>3.71</lat> <lon>3.72</lon> </tp>
1564 # <tp> <time>2006-01-03T01:00:27Z</time> <lat>3.81</lat> <lon>3.82</lon> </tp>
1568 not ok - "../gpst -T -3600 multitrack-pause.gpx" - Subtract one hour from GPX input, output gpsml (stderr)
1569 # Failed test '"../gpst -T -3600 multitrack-pause.gpx" - Subtract one hour from GPX input, output gpsml (stderr)'
1570 # at ./run-tests.pl line 2144.
1571 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1572 # Execution of ../gpst aborted due to compilation errors.
1575 not ok - "../gpst -T 1 -o gpx multitrack-pause.gpx" - Add one second to GPX input, output GPX
1576 # Failed test '"../gpst -T 1 -o gpx multitrack-pause.gpx" - Add one second to GPX input, output GPX'
1577 # at ./run-tests.pl line 2141.
1579 # expected: '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1582 # creator="gpst - http://svn.sunbase.org/repos/utils/trunk/src/gpstools/"
1583 # xmlns="http://www.topografix.com/GPX/1/1"
1584 # xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1585 # xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"
1589 # <trkpt lat="1.11" lon="1.12"> <time>2006-01-01T00:00:01Z</time> </trkpt>
1590 # <trkpt lat="1.21" lon="1.22"> <time>2006-01-01T00:00:02Z</time> </trkpt>
1591 # <trkpt lat="1.31" lon="1.32"> <time>2006-01-01T00:00:03Z</time> </trkpt>
1594 # <trkpt lat="2.11" lon="2.12"> <time>2006-01-02T00:00:01Z</time> </trkpt>
1595 # <trkpt lat="2.21" lon="2.22"> <time>2006-01-02T00:00:05Z</time> </trkpt>
1596 # <trkpt lat="2.31" lon="2.32"> <time>2006-01-02T00:00:17Z</time> </trkpt>
1597 # <trkpt lat="2.41" lon="2.42"> <time>2006-01-02T01:00:17Z</time> </trkpt>
1598 # <trkpt lat="2.451" lon="2.452"> <time>2006-01-02T01:00:18Z</time> </trkpt>
1603 # <trkpt lat="3.11" lon="3.12"> <time>2006-01-03T02:00:21Z</time> </trkpt>
1604 # <trkpt lat="3.21" lon="3.22"> <time>2006-01-03T02:00:22Z</time> </trkpt>
1605 # <trkpt lat="3.31" lon="3.32"> <time>2006-01-03T02:00:23Z</time> </trkpt>
1606 # <trkpt lat="3.41" lon="3.42"> <time>2006-01-03T02:00:24Z</time> </trkpt>
1609 # <trkpt lat="3.51" lon="3.52"> <time>2006-01-03T02:00:25Z</time> </trkpt>
1610 # <trkpt lat="3.61" lon="3.62"> <time>2006-01-03T02:00:26Z</time> </trkpt>
1611 # <trkpt lat="3.71" lon="3.72"> <time>2006-01-03T02:00:27Z</time> </trkpt>
1612 # <trkpt lat="3.81" lon="3.82"> <time>2006-01-03T02:00:28Z</time> </trkpt>
1617 not ok - "../gpst -T 1 -o gpx multitrack-pause.gpx" - Add one second to GPX input, output GPX (stderr)
1618 # Failed test '"../gpst -T 1 -o gpx multitrack-pause.gpx" - Add one second to GPX input, output GPX (stderr)'
1619 # at ./run-tests.pl line 2144.
1620 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1621 # Execution of ../gpst aborted due to compilation errors.
1624 not ok - "../gpst --time-shift -1 -o gpx multitrack-pause.gpsml" - Subtract one second from gpsml input, output GPX, use long option
1625 # Failed test '"../gpst --time-shift -1 -o gpx multitrack-pause.gpsml" - Subtract one second from gpsml input, output GPX, use long option'
1626 # at ./run-tests.pl line 2141.
1628 # expected: '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1631 # creator="gpst - http://svn.sunbase.org/repos/utils/trunk/src/gpstools/"
1632 # xmlns="http://www.topografix.com/GPX/1/1"
1633 # xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1634 # xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"
1638 # <trkpt lat="1.11" lon="1.12"> <time>2005-12-31T23:59:59Z</time> </trkpt>
1639 # <trkpt lat="1.21" lon="1.22"> <time>2006-01-01T00:00:00Z</time> </trkpt>
1640 # <trkpt lat="1.31" lon="1.32"> <time>2006-01-01T00:00:01Z</time> </trkpt>
1643 # <trkpt lat="2.11" lon="2.12"> <time>2006-01-01T23:59:59Z</time> </trkpt>
1644 # <trkpt lat="2.21" lon="2.22"> <time>2006-01-02T00:00:03Z</time> </trkpt>
1645 # <trkpt lat="2.31" lon="2.32"> <time>2006-01-02T00:00:15Z</time> </trkpt>
1646 # <trkpt lat="2.41" lon="2.42"> <time>2006-01-02T01:00:15Z</time> </trkpt>
1647 # <trkpt lat="2.451" lon="2.452"> <time>2006-01-02T01:00:16Z</time> </trkpt>
1652 # <trkpt lat="3.11" lon="3.12"> <time>2006-01-03T02:00:19Z</time> </trkpt>
1653 # <trkpt lat="3.21" lon="3.22"> <time>2006-01-03T02:00:20Z</time> </trkpt>
1654 # <trkpt lat="3.31" lon="3.32"> <time>2006-01-03T02:00:21Z</time> </trkpt>
1655 # <trkpt lat="3.41" lon="3.42"> <time>2006-01-03T02:00:22Z</time> </trkpt>
1658 # <trkpt lat="3.51" lon="3.52"> <time>2006-01-03T02:00:23Z</time> </trkpt>
1659 # <trkpt lat="3.61" lon="3.62"> <time>2006-01-03T02:00:24Z</time> </trkpt>
1660 # <trkpt lat="3.71" lon="3.72"> <time>2006-01-03T02:00:25Z</time> </trkpt>
1661 # <trkpt lat="3.81" lon="3.82"> <time>2006-01-03T02:00:26Z</time> </trkpt>
1666 not ok - "../gpst --time-shift -1 -o gpx multitrack-pause.gpsml" - Subtract one second from gpsml input, output GPX, use long option (stderr)
1667 # Failed test '"../gpst --time-shift -1 -o gpx multitrack-pause.gpsml" - Subtract one second from gpsml input, output GPX, use long option (stderr)'
1668 # at ./run-tests.pl line 2144.
1669 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1670 # Execution of ../gpst aborted due to compilation errors.
1673 not ok - "../gpst -T 0 -o pgtab multitrack-pause.gpx" - Read GPX, time-shift 0 seconds, output pgtab
1674 # Failed test '"../gpst -T 0 -o pgtab multitrack-pause.gpx" - Read GPX, time-shift 0 seconds, output pgtab'
1675 # at ./run-tests.pl line 2141.
1677 # expected: '2006-01-01T00:00:00Z (1.11,1.12) \N \N \N \N
1678 # 2006-01-01T00:00:01Z (1.21,1.22) \N \N \N \N
1679 # 2006-01-01T00:00:02Z (1.31,1.32) \N \N \N \N
1680 # 2006-01-02T00:00:00Z (2.11,2.12) \N \N \N \N
1681 # 2006-01-02T00:00:04Z (2.21,2.22) \N \N \N \N
1682 # 2006-01-02T00:00:16Z (2.31,2.32) \N \N \N \N
1683 # 2006-01-02T01:00:16Z (2.41,2.42) \N \N \N \N
1684 # 2006-01-02T01:00:17Z (2.451,2.452) \N \N \N \N
1685 # 2006-01-03T02:00:20Z (3.11,3.12) \N \N \N \N
1686 # 2006-01-03T02:00:21Z (3.21,3.22) \N \N \N \N
1687 # 2006-01-03T02:00:22Z (3.31,3.32) \N \N \N \N
1688 # 2006-01-03T02:00:23Z (3.41,3.42) \N \N \N \N
1689 # 2006-01-03T02:00:24Z (3.51,3.52) \N \N \N \N
1690 # 2006-01-03T02:00:25Z (3.61,3.62) \N \N \N \N
1691 # 2006-01-03T02:00:26Z (3.71,3.72) \N \N \N \N
1692 # 2006-01-03T02:00:27Z (3.81,3.82) \N \N \N \N
1694 not ok - "../gpst -T 0 -o pgtab multitrack-pause.gpx" - Read GPX, time-shift 0 seconds, output pgtab (stderr)
1695 # Failed test '"../gpst -T 0 -o pgtab multitrack-pause.gpx" - Read GPX, time-shift 0 seconds, output pgtab (stderr)'
1696 # at ./run-tests.pl line 2144.
1697 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1698 # Execution of ../gpst aborted due to compilation errors.
1701 # Testing -v (--verbose) option...
1702 not ok - "../gpst -hv" - Option --version with -h returns version number and help screen
1703 # Failed test '"../gpst -hv" - Option --version with -h returns version number and help screen'
1704 # at ./run-tests.pl line 2169.
1706 # doesn't match '/^\n\S+ v\d\.\d\d\n/s'
1707 not ok - "../gpst -hv" - Option --version with -h returns version number and help screen (stderr)
1708 # Failed test '"../gpst -hv" - Option --version with -h returns version number and help screen (stderr)'
1709 # at ./run-tests.pl line 2172.
1710 # 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1711 # Execution of ../gpst aborted due to compilation errors.
1713 # doesn't match '/^$/'
1714 # Testing --version option...
1715 not ok - "../gpst --version" - Option --version returns version number
1716 # Failed test '"../gpst --version" - Option --version returns version number'
1717 # at ./run-tests.pl line 2169.
1719 # doesn't match '/^\S+ v\d\.\d\d\n/'
1720 not ok - "../gpst --version" - Option --version returns version number (stderr)
1721 # Failed test '"../gpst --version" - Option --version returns version number (stderr)'
1722 # at ./run-tests.pl line 2172.
1723 # 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1724 # Execution of ../gpst aborted due to compilation errors.
1726 # doesn't match '/^$/'
1727 # Testing --strip-whitespace option...
1728 not ok - "../gpst -w -o gpx pause-noname.gpx" - Strip whitespace from GPX output
1729 # Failed test '"../gpst -w -o gpx pause-noname.gpx" - Strip whitespace from GPX output'
1730 # at ./run-tests.pl line 2141.
1732 # expected: '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1735 # creator="gpst - http://svn.sunbase.org/repos/utils/trunk/src/gpstools/"
1736 # xmlns="http://www.topografix.com/GPX/1/1"
1737 # xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1738 # xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"
1742 # <trkpt lat="60.425494" lon="5.299534"><ele>25.260</ele><time>2006-05-21T16:49:11Z</time></trkpt>
1743 # <trkpt lat="60.425464" lon="5.299610"><ele>24.931</ele><time>2006-05-21T16:49:46Z</time></trkpt>
1744 # <trkpt lat="60.425314" lon="5.299694"><ele>27.975</ele><time>2006-05-21T16:52:04Z</time></trkpt>
1745 # <trkpt lat="60.425384" lon="5.299741"><ele>31.017</ele><time>2006-05-21T16:56:36Z</time></trkpt>
1746 # <trkpt lat="60.425339" lon="5.299958"><ele>30.980</ele><time>2006-05-21T16:56:47Z</time></trkpt>
1747 # <trkpt lat="60.425238" lon="5.299640"><ele>30.538</ele><time>2006-05-21T16:56:56Z</time></trkpt>
1748 # <trkpt lat="60.425246" lon="5.299686"><ele>30.515</ele><time>2006-05-21T16:57:03Z</time></trkpt>
1749 # <trkpt lat="60.425345" lon="5.299773"><ele>31.936</ele><time>2006-05-21T16:59:08Z</time></trkpt>
1750 # <trkpt lat="60.425457" lon="5.299419"><ele>31.794</ele><time>2006-05-21T17:00:54Z</time></trkpt>
1755 not ok - "../gpst -w -o gpx pause-noname.gpx" - Strip whitespace from GPX output (stderr)
1756 # Failed test '"../gpst -w -o gpx pause-noname.gpx" - Strip whitespace from GPX output (stderr)'
1757 # at ./run-tests.pl line 2144.
1758 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1759 # Execution of ../gpst aborted due to compilation errors.
1762 not ok - "../gpst -o gpx -w comments.mayko" - Output whitespace-stripped GPX from Mayko file with commented-out lines
1763 # Failed test '"../gpst -o gpx -w comments.mayko" - Output whitespace-stripped GPX from Mayko file with commented-out lines'
1764 # at ./run-tests.pl line 2141.
1766 # expected: '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1769 # creator="gpst - http://svn.sunbase.org/repos/utils/trunk/src/gpstools/"
1770 # xmlns="http://www.topografix.com/GPX/1/1"
1771 # xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1772 # xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"
1776 # <trkpt lat="70.6800486" lon="23.6746151"><time>2002-12-22T21:42:24Z</time></trkpt>
1777 # <trkpt lat="70.6799322" lon="23.6740038"><time>2002-12-22T21:42:32Z</time></trkpt>
1778 # <trkpt lat="70.6796266" lon="23.6723991"><time>2002-12-22T21:42:54Z</time></trkpt>
1779 # <!-- <trkpt lat="70.6796266" lon="23.6723991"><time>2002-12-22T21:43:51Z</time><extensions><error>desc</error></extensions></trkpt> -->
1780 # <!-- <trkpt lat="70.6796266" lon="23.6723991"><time>2002-12-22T21:43:52Z</time><extensions><error>desc</error></extensions></trkpt> -->
1781 # <!-- <trkpt lat="70.6796266" lon="23.6723991"><time>2002-12-22T21:43:54Z</time><extensions><error>desc</error></extensions></trkpt> -->
1782 # <trkpt lat="70.6800774" lon="23.6757566"><time>2002-12-22T21:44:45Z</time></trkpt>
1785 # <trkpt lat="70.6801502" lon="23.6753442"><time>2002-12-22T21:44:52Z</time></trkpt>
1786 # <trkpt lat="70.6801905" lon="23.6757542"><time>2002-12-22T21:45:04Z</time></trkpt>
1791 not ok - "../gpst -o gpx -w comments.mayko" - Output whitespace-stripped GPX from Mayko file with commented-out lines (stderr)
1792 # Failed test '"../gpst -o gpx -w comments.mayko" - Output whitespace-stripped GPX from Mayko file with commented-out lines (stderr)'
1793 # at ./run-tests.pl line 2144.
1794 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1795 # Execution of ../gpst aborted due to compilation errors.
1798 not ok - "../gpst -w -o pgwupd multitrack.gpx" - Strip whitespace from pgwupd output
1799 # Failed test '"../gpst -w -o pgwupd multitrack.gpx" - Strip whitespace from pgwupd output'
1800 # at ./run-tests.pl line 2141.
1803 # UPDATE logg SET name = clname(coor) WHERE (point(51.477880000,-0.001470000) <-> coor) < 0.05;
1804 # UPDATE logg SET dist = cldist(coor) WHERE (point(51.477880000,-0.001470000) <-> coor) < 0.05;
1807 # UPDATE logg SET name = clname(coor) WHERE (point(51.532030,-0.177330) <-> coor) < 0.05;
1808 # UPDATE logg SET dist = cldist(coor) WHERE (point(51.532030,-0.177330) <-> coor) < 0.05;
1811 # UPDATE logg SET name = clname(coor) WHERE (point(61.636684,8.312254) <-> coor) < 0.05;
1812 # UPDATE logg SET dist = cldist(coor) WHERE (point(61.636684,8.312254) <-> coor) < 0.05;
1815 # UPDATE logg SET name = clname(coor) WHERE (point(60.397460000,5.350610000) <-> coor) < 0.05;
1816 # UPDATE logg SET dist = cldist(coor) WHERE (point(60.397460000,5.350610000) <-> coor) < 0.05;
1819 # UPDATE logg SET name = clname(coor) WHERE (point(51.510130000,-0.130410000) <-> coor) < 0.05;
1820 # UPDATE logg SET dist = cldist(coor) WHERE (point(51.510130000,-0.130410000) <-> coor) < 0.05;
1823 # UPDATE logg SET name = clname(coor) WHERE (point(60.968540000,9.285350000) <-> coor) < 0.05;
1824 # UPDATE logg SET dist = cldist(coor) WHERE (point(60.968540000,9.285350000) <-> coor) < 0.05;
1827 not ok - "../gpst -w -o pgwupd multitrack.gpx" - Strip whitespace from pgwupd output (stderr)
1828 # Failed test '"../gpst -w -o pgwupd multitrack.gpx" - Strip whitespace from pgwupd output (stderr)'
1829 # at ./run-tests.pl line 2144.
1830 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1831 # Execution of ../gpst aborted due to compilation errors.
1834 # Testing --double-y-scale option...
1835 not ok - "../gpst -y -o clean pause.gpx" - Double y scale, clean output from gpx format
1836 # Failed test '"../gpst -y -o clean pause.gpx" - Double y scale, clean output from gpx format'
1837 # at ./run-tests.pl line 2141.
1839 # expected: '5.299534 120.850988 25.260
1840 # 5.299610 120.850928 24.931
1841 # 5.299694 120.850628 27.975
1842 # 5.299741 120.850768 31.017
1843 # 5.299958 120.850678 30.980
1844 # 5.299640 120.850476 30.538
1845 # 5.299686 120.850492 30.515
1846 # 5.299773 120.85069 31.936
1847 # 5.299419 120.850914 31.794
1849 not ok - "../gpst -y -o clean pause.gpx" - Double y scale, clean output from gpx format (stderr)
1850 # Failed test '"../gpst -y -o clean pause.gpx" - Double y scale, clean output from gpx format (stderr)'
1851 # at ./run-tests.pl line 2144.
1852 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1853 # Execution of ../gpst aborted due to compilation errors.
1856 not ok - "../gpst -y -o clean log.dos.mayko" - Double y scale, clean output from mayko format
1857 # Failed test '"../gpst -y -o clean log.dos.mayko" - Double y scale, clean output from mayko format'
1858 # at ./run-tests.pl line 2141.
1860 # expected: '8.1225077 116.3636316
1861 # 8.1253200 116.3637424
1862 # 8.1266031 116.3632694
1863 # 8.1284612 116.3624198
1864 # 8.1293950 116.362063
1865 # 8.1307400 116.3619242
1867 not ok - "../gpst -y -o clean log.dos.mayko" - Double y scale, clean output from mayko format (stderr)
1868 # Failed test '"../gpst -y -o clean log.dos.mayko" - Double y scale, clean output from mayko format (stderr)'
1869 # at ./run-tests.pl line 2144.
1870 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1871 # Execution of ../gpst aborted due to compilation errors.
1874 # Testing --debug option...
1875 # Strip error from Mayko format...
1876 not ok - "../gpst -o csv date_error.mayko" - Strip error from mayko format in csv output
1877 # Failed test '"../gpst -o csv date_error.mayko" - Strip error from mayko format in csv output'
1878 # at ./run-tests.pl line 2141.
1880 # expected: '2003-06-13T09:12:36Z 5.5794667 60.4280897
1881 # 2003-06-13T09:12:38Z 5.5802255 60.4281867
1882 # 2003-06-13T09:12:41Z 5.5813636 60.4283320
1883 # 2003-06-13T09:12:42Z 5.5817430 60.4283806
1885 not ok - "../gpst -o csv date_error.mayko" - Strip error from mayko format in csv output (stderr)
1886 # Failed test '"../gpst -o csv date_error.mayko" - Strip error from mayko format in csv output (stderr)'
1887 # at ./run-tests.pl line 2144.
1888 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1889 # Execution of ../gpst aborted due to compilation errors.
1892 not ok - "../gpst -o clean date_error.mayko" - Strip error from mayko format in clean output
1893 # Failed test '"../gpst -o clean date_error.mayko" - Strip error from mayko format in clean output'
1894 # at ./run-tests.pl line 2141.
1896 # expected: '5.5794667 60.4280897
1897 # 5.5802255 60.4281867
1898 # 5.5813636 60.4283320
1899 # 5.5817430 60.4283806
1901 not ok - "../gpst -o clean date_error.mayko" - Strip error from mayko format in clean output (stderr)
1902 # Failed test '"../gpst -o clean date_error.mayko" - Strip error from mayko format in clean output (stderr)'
1903 # at ./run-tests.pl line 2144.
1904 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1905 # Execution of ../gpst aborted due to compilation errors.
1908 not ok - "../gpst -o gpsml date_error.mayko" - Strip error from mayko format in gpsml output
1909 # Failed test '"../gpst -o gpsml date_error.mayko" - Strip error from mayko format in gpsml output'
1910 # at ./run-tests.pl line 2141.
1912 # expected: '<?xml version="1.0" encoding="UTF-8"?>
1915 # <tp> <time>2003-06-13T09:12:36Z</time> <lat>60.4280897</lat> <lon>5.5794667</lon> </tp>
1916 # <tp> <time>2003-06-13T09:12:38Z</time> <lat>60.4281867</lat> <lon>5.5802255</lon> </tp>
1917 # <etp err="error"> <time>2037-06-25T17:19:22Z</time> <lat>103.4034054</lat> <lon>129.7271053</lon> </etp>
1918 # <tp> <time>2003-06-13T09:12:41Z</time> <lat>60.428332</lat> <lon>5.5813636</lon> </tp>
1919 # <tp> <time>2003-06-13T09:12:42Z</time> <lat>60.4283806</lat> <lon>5.581743</lon> </tp>
1923 not ok - "../gpst -o gpsml date_error.mayko" - Strip error from mayko format in gpsml output (stderr)
1924 # Failed test '"../gpst -o gpsml date_error.mayko" - Strip error from mayko format in gpsml output (stderr)'
1925 # at ./run-tests.pl line 2144.
1926 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1927 # Execution of ../gpst aborted due to compilation errors.
1930 not ok - "../gpst -o gpx date_error.mayko" - Strip error from mayko format in gpx output
1931 # Failed test '"../gpst -o gpx date_error.mayko" - Strip error from mayko format in gpx output'
1932 # at ./run-tests.pl line 2141.
1934 # expected: '<?xml version="1.0" encoding="UTF-8" standalone="no"?>
1937 # creator="gpst - http://svn.sunbase.org/repos/utils/trunk/src/gpstools/"
1938 # xmlns="http://www.topografix.com/GPX/1/1"
1939 # xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1940 # xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"
1944 # <trkpt lat="60.4280897" lon="5.5794667"> <time>2003-06-13T09:12:36Z</time> </trkpt>
1945 # <trkpt lat="60.4281867" lon="5.5802255"> <time>2003-06-13T09:12:38Z</time> </trkpt>
1946 # <!-- <trkpt lat="103.4034054" lon="129.7271053"> <time>2037-06-25T17:19:22Z</time> <extensions> <error>error</error> </extensions> </trkpt> -->
1947 # <trkpt lat="60.4283320" lon="5.5813636"> <time>2003-06-13T09:12:41Z</time> </trkpt>
1948 # <trkpt lat="60.4283806" lon="5.5817430"> <time>2003-06-13T09:12:42Z</time> </trkpt>
1953 not ok - "../gpst -o gpx date_error.mayko" - Strip error from mayko format in gpx output (stderr)
1954 # Failed test '"../gpst -o gpx date_error.mayko" - Strip error from mayko format in gpx output (stderr)'
1955 # at ./run-tests.pl line 2144.
1956 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1957 # Execution of ../gpst aborted due to compilation errors.
1960 not ok - "../gpst -o gpstrans date_error.mayko" - Strip error from mayko format in gpstrans output
1961 # Failed test '"../gpst -o gpstrans date_error.mayko" - Strip error from mayko format in gpstrans output'
1962 # at ./run-tests.pl line 2141.
1964 # expected: 'Format: DMS UTC Offset: 0.00 hrs Datum[100]: WGS 84
1965 # T 06/13/2003 09:12:36 60°25'41.1" 5°34'46.1"
1966 # T 06/13/2003 09:12:38 60°25'41.5" 5°34'48.8"
1967 # T 06/13/2003 09:12:41 60°25'42.0" 5°34'52.9"
1968 # T 06/13/2003 09:12:42 60°25'42.2" 5°34'54.3"
1970 not ok - "../gpst -o gpstrans date_error.mayko" - Strip error from mayko format in gpstrans output (stderr)
1971 # Failed test '"../gpst -o gpstrans date_error.mayko" - Strip error from mayko format in gpstrans output (stderr)'
1972 # at ./run-tests.pl line 2144.
1973 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1974 # Execution of ../gpst aborted due to compilation errors.
1977 not ok - "../gpst -o pgtab date_error.mayko" - Strip error from mayko format in pgtab output
1978 # Failed test '"../gpst -o pgtab date_error.mayko" - Strip error from mayko format in pgtab output'
1979 # at ./run-tests.pl line 2141.
1981 # expected: '2003-06-13T09:12:36Z (60.4280897,5.5794667) \N \N \N \N
1982 # 2003-06-13T09:12:38Z (60.4281867,5.5802255) \N \N \N \N
1983 # 2003-06-13T09:12:41Z (60.4283320,5.5813636) \N \N \N \N
1984 # 2003-06-13T09:12:42Z (60.4283806,5.5817430) \N \N \N \N
1986 not ok - "../gpst -o pgtab date_error.mayko" - Strip error from mayko format in pgtab output (stderr)
1987 # Failed test '"../gpst -o pgtab date_error.mayko" - Strip error from mayko format in pgtab output (stderr)'
1988 # at ./run-tests.pl line 2144.
1989 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
1990 # Execution of ../gpst aborted due to compilation errors.
1993 not ok - "../gpst -o poscount date_error.mayko" - Strip error from mayko format in poscount output
1994 # Failed test '"../gpst -o poscount date_error.mayko" - Strip error from mayko format in poscount output'
1995 # at ./run-tests.pl line 2141.
1997 # expected: '5.5802255 60.4281867 1
1998 # 5.5817430 60.4283806 1
1999 # 5.5813636 60.4283320 1
2000 # 5.5794667 60.4280897 1
2002 not ok - "../gpst -o poscount date_error.mayko" - Strip error from mayko format in poscount output (stderr)
2003 # Failed test '"../gpst -o poscount date_error.mayko" - Strip error from mayko format in poscount output (stderr)'
2004 # at ./run-tests.pl line 2144.
2005 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
2006 # Execution of ../gpst aborted due to compilation errors.
2009 not ok - "../gpst -o xgraph date_error.mayko" - Strip error from mayko format in xgraph output
2010 # Failed test '"../gpst -o xgraph date_error.mayko" - Strip error from mayko format in xgraph output'
2011 # at ./run-tests.pl line 2141.
2013 # expected: '5.5794667 60.4280897
2014 # 5.5802255 60.4281867
2015 # 5.5813636 60.4283320
2016 # 5.5817430 60.4283806
2018 not ok - "../gpst -o xgraph date_error.mayko" - Strip error from mayko format in xgraph output (stderr)
2019 # Failed test '"../gpst -o xgraph date_error.mayko" - Strip error from mayko format in xgraph output (stderr)'
2020 # at ./run-tests.pl line 2144.
2021 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
2022 # Execution of ../gpst aborted due to compilation errors.
2025 not ok - "../gpst -o ygraph date_error.mayko" - Strip error from mayko format in ygraph output
2026 # Failed test '"../gpst -o ygraph date_error.mayko" - Strip error from mayko format in ygraph output'
2027 # at ./run-tests.pl line 2141.
2029 # expected: '"Time = 0.0
2030 # 5.5794667 60.4280897
2033 # 5.5802255 60.4281867
2036 # 5.5813636 60.4283320
2039 # 5.5817430 60.4283806
2042 not ok - "../gpst -o ygraph date_error.mayko" - Strip error from mayko format in ygraph output (stderr)
2043 # Failed test '"../gpst -o ygraph date_error.mayko" - Strip error from mayko format in ygraph output (stderr)'
2044 # at ./run-tests.pl line 2144.
2045 # got: 'Global symbol "$rcs_id" requires explicit package name at ../gpst line 1084.
2046 # Execution of ../gpst aborted due to compilation errors.
2051 # Looks like you failed 144 tests of 233.