1@routed @options @version 2Feature: osrm-routed command line options: version 3# the regex will match these two formats: 4# v0.3.7.0 # this is the normal format when you build from a git clone 5# -128-NOTFOUND # if you build from a shallow clone (used on Travis) 6 7 Background: 8 Given the profile "testbot" 9 10 Scenario: osrm-routed - Version, short 11 When I run "osrm-routed -v" 12 Then stderr should be empty 13 And stdout should contain 1 line 14 And stdout should contain /(v\d{1,2}\.\d{1,2}\.\d{1,2}|\w*-\d+-\w+)/ 15 And it should exit successfully 16 17 Scenario: osrm-routed - Version, long 18 When I run "osrm-routed --version" 19 Then stderr should be empty 20 And stdout should contain 1 line 21 And stdout should contain /(v\d{1,2}\.\d{1,2}\.\d{1,2}|\w*-\d+-\w+)/ 22 And it should exit successfully 23