Skip to content

v0.2.53..v0.2.54 changeset RndCropRandomCommandTest.sh

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/test-files/cmd/glacial/RndCropRandomCommandTest.sh b/test-files/cmd/glacial/RndCropRandomCommandTest.sh
index 1fb4e60..57e38ad 100755
--- a/test-files/cmd/glacial/RndCropRandomCommandTest.sh
+++ b/test-files/cmd/glacial/RndCropRandomCommandTest.sh
@@ -5,6 +5,8 @@ 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 -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
+CONFIG="-C Testing.conf"
+
+hoot crop-random --warn $CONFIG -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 $CONFIG $OUTPUT_DIR/out.osm $INPUT_DIR/out.osm || diff $OUTPUT_DIR/out.osm $INPUT_DIR/out.osm
+hoot diff --warn $CONFIG $OUTPUT_DIR/out-tiles.osm $INPUT_DIR/out-tiles.osm || diff $OUTPUT_DIR/out-tiles.osm $INPUT_DIR/out-tiles.osm
Clone this wiki locally