summarylogtreecommitdiffstats
path: root/test.sh
blob: e8b98b58af23e88fe3547dc557fc5f066ecdbf77 (plain)
1
2
3
4
5
6
7
8
9
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