2014-03-21 19:32:35 -04:00
|
|
|
@routing @options
|
|
|
|
Feature: Command line options: help
|
|
|
|
|
|
|
|
Background:
|
|
|
|
Given the profile "testbot"
|
|
|
|
|
2014-03-22 06:36:42 -04:00
|
|
|
Scenario Outline: Help
|
|
|
|
When I run "osrm-routed <program_options>"
|
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 "osrm-routed <base.osrm> [<options>]:"
|
|
|
|
And stdout should contain "Options:"
|
|
|
|
And stdout should contain "--version"
|
|
|
|
And stdout should contain "--help"
|
|
|
|
And stdout should contain "--config"
|
|
|
|
And stdout should contain "--trial"
|
|
|
|
And stdout should contain "Configuration:"
|
|
|
|
And stdout should contain "--hsgrdata arg"
|
|
|
|
And stdout should contain "--nodesdata arg"
|
|
|
|
And stdout should contain "--edgesdata arg"
|
|
|
|
And stdout should contain "--ramindex arg"
|
|
|
|
And stdout should contain "--fileindex arg"
|
|
|
|
And stdout should contain "--namesdata arg"
|
|
|
|
And stdout should contain "--timestamp arg"
|
|
|
|
And stdout should contain "--ip"
|
|
|
|
And stdout should contain "--port"
|
|
|
|
And stdout should contain "--threads"
|
|
|
|
And stdout should contain "--sharedmemory"
|
2014-03-21 19:47:20 -04:00
|
|
|
And it should exit with code 0
|
2014-03-21 19:32:35 -04:00
|
|
|
|
2014-03-22 06:36:42 -04:00
|
|
|
Examples:
|
|
|
|
| program_options |
|
|
|
|
| |
|
|
|
|
| -h |
|
|
|
|
| --help |
|