Ticket #7614: bug_test.sh

File bug_test.sh, 386 bytes (added by anonymous, 13 months ago)
Line 
1#!/bin/bash
2
3test_dir=$'/tmp/DIR\x0d\x1aTEST'
4mkdir $test_dir
5
6cat > $test_dir/test.gpx << "EOF"
7<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
8<gpx version="1.1" creator="me" xmlns="http://www.topografix.com/GPX/1/1">
9  <trk>
10    <trkseg>
11      <trkpt lat="50.0000000" lon="50.0000000">
12        <time>2012-01-01T12:00:0Z</time>
13      </trkpt>
14    </trkseg>
15  </trk>
16</gpx>
17EOF