2014-04-21 09:24:42 -04:00
|
|
|
@routed @options @help
|
|
|
|
Feature: osrm-routed command line options: help
|
2014-03-21 19:32:35 -04:00
|
|
|
|
|
|
|
Background:
|
|
|
|
Given the profile "testbot"
|
|
|
|
|
2014-04-21 09:24:42 -04:00
|
|
|
Scenario: osrm-routed - Help should be shown when no options are passed
|
2014-03-25 02:04:51 -04:00
|
|
|
When I run "osrm-routed"
|
2014-03-21 19:47:20 -04:00
|
|
|
Then stderr should be empty
|
2016-12-26 13:59:07 -05:00
|
|
|
And stdout should contain /osrm-routed(.exe)? <base.osrm> \[<options>\]:/
|
2014-03-21 19:32:35 -04:00
|
|
|
And stdout should contain "Options:"
|
|
|
|
And stdout should contain "--version"
|
|
|
|
And stdout should contain "--help"
|
|
|
|
And stdout should contain "--trial"
|
|
|
|
And stdout should contain "Configuration:"
|
|
|
|
And stdout should contain "--ip"
|
|
|
|
And stdout should contain "--port"
|
|
|
|
And stdout should contain "--threads"
|
2015-01-08 11:27:36 -05:00
|
|
|
And stdout should contain "--shared-memory"
|
2015-12-16 22:14:06 -05:00
|
|
|
And stdout should contain "--max-viaroute-size"
|
|
|
|
And stdout should contain "--max-trip-size"
|
2015-01-08 11:27:36 -05:00
|
|
|
And stdout should contain "--max-table-size"
|
2015-03-03 06:56:37 -05:00
|
|
|
And stdout should contain "--max-matching-size"
|
2016-09-19 17:13:44 -04:00
|
|
|
And it should exit successfully
|
2014-03-21 19:32:35 -04:00
|
|
|
|
2014-04-21 09:24:42 -04:00
|
|
|
Scenario: osrm-routed - Help, short
|
2014-03-25 02:04:51 -04:00
|
|
|
When I run "osrm-routed -h"
|
|
|
|
Then stderr should be empty
|
2016-12-26 13:59:07 -05:00
|
|
|
And stdout should contain /osrm-routed(.exe)? <base.osrm> \[<options>\]:/
|
2014-03-25 02:04:51 -04:00
|
|
|
And stdout should contain "Options:"
|
|
|
|
And stdout should contain "--version"
|
|
|
|
And stdout should contain "--help"
|
|
|
|
And stdout should contain "--trial"
|
|
|
|
And stdout should contain "Configuration:"
|
|
|
|
And stdout should contain "--ip"
|
|
|
|
And stdout should contain "--port"
|
|
|
|
And stdout should contain "--threads"
|
2015-01-08 11:27:36 -05:00
|
|
|
And stdout should contain "--shared-memory"
|
2015-12-16 22:14:06 -05:00
|
|
|
And stdout should contain "--max-viaroute-size"
|
|
|
|
And stdout should contain "--max-trip-size"
|
2015-01-08 11:27:36 -05:00
|
|
|
And stdout should contain "--max-table-size"
|
2015-03-03 06:56:37 -05:00
|
|
|
And stdout should contain "--max-matching-size"
|
2016-09-19 17:13:44 -04:00
|
|
|
And it should exit successfully
|
2014-03-25 02:04:51 -04:00
|
|
|
|
2014-04-21 09:24:42 -04:00
|
|
|
Scenario: osrm-routed - Help, long
|
2014-03-25 02:04:51 -04:00
|
|
|
When I run "osrm-routed --help"
|
|
|
|
Then stderr should be empty
|
2016-12-26 13:59:07 -05:00
|
|
|
And stdout should contain /osrm-routed(.exe)? <base.osrm> \[<options>\]:/
|
2014-03-25 02:04:51 -04:00
|
|
|
And stdout should contain "Options:"
|
|
|
|
And stdout should contain "--version"
|
|
|
|
And stdout should contain "--help"
|
|
|
|
And stdout should contain "--trial"
|
|
|
|
And stdout should contain "Configuration:"
|
|
|
|
And stdout should contain "--ip"
|
|
|
|
And stdout should contain "--port"
|
|
|
|
And stdout should contain "--threads"
|
2015-01-08 11:27:36 -05:00
|
|
|
And stdout should contain "--shared-memory"
|
2015-12-16 22:14:06 -05:00
|
|
|
And stdout should contain "--max-trip-size"
|
|
|
|
And stdout should contain "--max-table-size"
|
2015-01-08 11:27:36 -05:00
|
|
|
And stdout should contain "--max-table-size"
|
2015-03-03 06:56:37 -05:00
|
|
|
And stdout should contain "--max-matching-size"
|
2016-09-19 17:13:44 -04:00
|
|
|
And it should exit successfully
|