-
Notifications
You must be signed in to change notification settings - Fork 74
v0.2.49..v0.2.50 changeset RndCropRandomCommandTest.sh
Garret Voltz edited this page Nov 6, 2019
·
1 revision
diff --git a/test-files/cmd/glacial/RndCropRandomCommandTest.sh b/test-files/cmd/glacial/RndCropRandomCommandTest.sh
index 42475ab..1fb4e60 100755
--- a/test-files/cmd/glacial/RndCropRandomCommandTest.sh
+++ b/test-files/cmd/glacial/RndCropRandomCommandTest.sh
@@ -1,10 +1,10 @@
#!/bin/bash
set -e
-INPUT_DIR=$HOOT_HOME/test-files/cmd/glacial/CropRandomCmdTest
-OUTPUT_DIR=$HOOT_HOME/test-output/cmd/glacial/CropRandomCmdTest
+INPUT_DIR=$HOOT_HOME/test-files/cmd/glacial/RndCropRandomCmdTest
+OUTPUT_DIR=$HOOT_HOME/test-output/cmd/glacial/RndCropRandomCmdTest
mkdir -p $OUTPUT_DIR
-hoot crop-random --warn -D crop.keep.only.features.inside.bounds=true "test-files/DcGisRoads.osm;test-files/DcTigerRoads.osm" $OUTPUT_DIR/out.osm 1000 0.001 1 --write-tiles
+hoot crop-random --warn -C Testing.conf -D crop.keep.only.features.inside.bounds=true "test-files/DcGisRoads.osm;test-files/DcTigerRoads.osm" $OUTPUT_DIR/out.osm 1000 0.001 1 --write-tiles
hoot diff --warn $OUTPUT_DIR/out.osm $INPUT_DIR/out.osm || diff $OUTPUT_DIR/out.osm $INPUT_DIR/out.osm
hoot diff --warn $OUTPUT_DIR/out-tiles.osm $INPUT_DIR/out-tiles.osm || diff $OUTPUT_DIR/out-tiles.osm $INPUT_DIR/out-tiles.osm