diff options
Diffstat (limited to 'test.sh')
-rwxr-xr-x | test.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test.sh b/test.sh new file mode 100755 index 000000000000..e8b98b58af23 --- /dev/null +++ b/test.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +# Perform simple tests to ensure osmupdate works correctly. +set -euo pipefail + +# Perform a sanity check. The output includes the current version. +osmupdate + +# Create a (pointless) changefile. Vermont is sparse and geographically small. +wget 'http://download.geofabrik.de/north-america/us/vermont-latest.osm.pbf' +osmupdate vermont-latest.osm.pbf vermont-latest-updated.osm.pbf |