/
srv
/
osrm
/
osrm-backend
/
features
/
options
/
routed
/
/srv/osrm/osrm-backend/features/options/routed
mkdir
upload
Name
Size
Mode
Actions
files.feature
1450
0644
edit
dl
rm
help.feature
3049
0644
edit
dl
rm
invalid.feature
696
0644
edit
dl
rm
version.feature
883
0644
edit
dl
rm
Edit:
/srv/osrm/osrm-backend/features/options/routed/files.feature
(1450B)
@routed @options @files @todo Feature: osrm-routed command line options: files # Normally when launching osrm-routed, it will keep running as a server until it's shut down. # For testing program options, the --trial option is used, which causes osrm-routed to quit # immediately after initialization. This makes testing easier and faster. # # The {contracted_base} part of the options to osrm-routed will be expanded to the actual base path of # the contracted input file. # TODO # Since we're not using osmr-datastore for all testing, osrm-routed is kept running. # This means this test fails because osrm-routed is already running. # It probably needs to be rewritten to first quit osrm-routed. Background: Given the profile "testbot" And the node map """ a b """ And the ways | nodes | | ab | And the data has been contracted Scenario: osrm-routed - Passing base file When I run "osrm-routed {contracted_base}.osrm --trial" Then stdout should contain /^\[info\] starting up engines/ And stdout should contain /\d{1,2}\.\d{1,2}\.\d{1,2}/ And stdout should contain /compiled at/ And stdout should contain /^\[info\] loaded plugin: viaroute/ And stdout should contain /^\[info\] trial run/ And stdout should contain /^\[info\] shutdown completed/ And it should exit successfully
Save
cmd:
run