cuke: check exit code as last step, add step to non-existing file

This commit is contained in:
Emil Tin
2014-03-22 00:47:20 +01:00
parent de29e17d95
commit 7048dd754d
3 changed files with 17 additions and 15 deletions
+5 -5
View File
@@ -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