2014-03-21 19:32:35 -04:00
|
|
|
@routing @options
|
|
|
|
Feature: Command line options: version
|
|
|
|
|
|
|
|
Background:
|
|
|
|
Given the profile "testbot"
|
|
|
|
|
|
|
|
Scenario: Version, short
|
|
|
|
When I run "osrm-routed -v"
|
2014-03-21 19:47:20 -04:00
|
|
|
Then stderr should be empty
|
2014-03-21 19:32:35 -04:00
|
|
|
And stdout should contain " v0."
|
2014-03-21 19:47:20 -04:00
|
|
|
And it should exit with code 0
|
2014-03-21 19:32:35 -04:00
|
|
|
|
|
|
|
Scenario: Version, long
|
|
|
|
When I run "osrm-routed --version"
|
2014-03-21 19:47:20 -04:00
|
|
|
Then stderr should be empty
|
|
|
|
And stdout should contain " v0."
|
|
|
|
And it should exit with code 0
|