cuke: check exit code as last step, add step to non-existing file
This commit is contained in:
@@ -6,12 +6,12 @@ Feature: Command line options: version
|
||||
|
||||
Scenario: Version, short
|
||||
When I run "osrm-routed -v"
|
||||
Then it should exit with code 0
|
||||
And stderr should be empty
|
||||
Then stderr should be empty
|
||||
And stdout should contain " v0."
|
||||
And it should exit with code 0
|
||||
|
||||
Scenario: Version, long
|
||||
When I run "osrm-routed --version"
|
||||
Then it should exit with code 0
|
||||
And stderr should be empty
|
||||
And stdout should contain " v0."
|
||||
Then stderr should be empty
|
||||
And stdout should contain " v0."
|
||||
And it should exit with code 0
|
||||
Reference in New Issue
Block a user