cuke: add a few options steps

This commit is contained in:
Emil Tin 2014-03-22 00:38:53 +01:00
parent c299989ff7
commit de29e17d95

View File

@ -8,9 +8,11 @@ Feature: Command line options: invalid options
When I run "osrm-routed --fly-me-to-the-moon" When I run "osrm-routed --fly-me-to-the-moon"
Then it should exit with code 255 Then it should exit with code 255
Then stdout should be empty Then stdout should be empty
And stderr should contain "exception"
And stderr should contain "fly-me-to-the-moon" And stderr should contain "fly-me-to-the-moon"
Scenario: Missing file Scenario: Missing file
When I run "osrm-routed over-the-rainbow.osrm" When I run "osrm-routed over-the-rainbow.osrm"
Then it should exit with code 255 Then it should exit with code 255
And stderr should contain "exception"
And stderr should contain "does not exist" And stderr should contain "does not exist"