Skip to content

v0.2.53..v0.2.54 changeset RubberSheetCmdTest.sh

Garret Voltz edited this page Mar 31, 2020 · 1 revision
diff --git a/test-files/cmd/slow/RubberSheetCmdTest.sh b/test-files/cmd/slow/RubberSheetCmdTest.sh
index d606865..704bb2f 100755
--- a/test-files/cmd/slow/RubberSheetCmdTest.sh
+++ b/test-files/cmd/slow/RubberSheetCmdTest.sh
@@ -8,10 +8,12 @@ input2=$HOOT_HOME/test-files/DcTigerRoads.osm
 outputfile=$HOOT_HOME/test-output/cmd/slow/RubberSheetCmdTest/out.osm
 comparefile=$HOOT_HOME/test-files/cmd/slow/RubberSheetCmdTest/out.osm
 
+CONFIG="-C Testing.conf"
+
 # Run the command.
-hoot rubber-sheet -C Testing.conf $input1 $input2 $outputfile | \
+hoot rubber-sheet $CONFIG $input1 $input2 $outputfile | \
            sed "s/RMSE: [0-9]\+\.[0-9]\+//g"
 
 # Check output
-hoot diff $comparefile $outputfile || diff $comparefile $outputfile
+hoot diff $CONFIG $comparefile $outputfile || diff $comparefile $outputfile
 
Clone this wiki locally