fix tests that use {base} expansion

This commit is contained in:
Emil Tin
2014-10-17 14:48:52 +02:00
parent 48333f73d5
commit cc3646ca16
4 changed files with 22 additions and 13 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
@prepare @options @files
Feature: osrm-prepare command line options: files
# expansions:
# {base} => path to current input file
# {extracted_base} => path to current extracted input file
# {profile} => path to current profile script
Background:
@@ -14,12 +14,12 @@ Feature: osrm-prepare command line options: files
And the data has been extracted
Scenario: osrm-prepare - Passing base file
When I run "osrm-prepare {base}.osrm --profile {profile}"
When I run "osrm-prepare {extracted_base}.osrm --profile {profile}"
Then stderr should be empty
And it should exit with code 0
Scenario: osrm-prepare - Order of options should not matter
When I run "osrm-prepare --profile {profile} {base}.osrm"
When I run "osrm-prepare --profile {profile} {extracted_base}.osrm"
Then stderr should be empty
And it should exit with code 0