/
srv
/
osrm
/
osrm-backend
/
features
/
options
/
partition
/
/srv/osrm/osrm-backend/features/options/partition
mkdir
upload
Name
Size
Mode
Actions
files.feature
714
0644
edit
dl
rm
help.feature
2464
0644
edit
dl
rm
invalid.feature
1186
0644
edit
dl
rm
version.feature
702
0644
edit
dl
rm
Edit:
/srv/osrm/osrm-backend/features/options/partition/invalid.feature
(1186B)
@partition @options @invalid Feature: osrm-partition command line options: invalid options Background: Given the profile "testbot" And the node map """ a b """ And the ways | nodes | | ab | And the data has been extracted Scenario: osrm-partition - Non-existing option When I try to run "osrm-partition --fly-me-to-the-moon" Then stdout should be empty And stderr should contain "option" And stderr should contain "fly-me-to-the-moon" And it should exit with an error Scenario: osrm-partition - Check invalid values When I try to run "osrm-partition --max-cell-sizes 4,6@4,16 fly-me-to-the-moon.osrm" Then stdout should be empty And stderr should contain "is invalid" And it should exit with an error Scenario: osrm-partition - Check non-descending order When I try to run "osrm-partition --max-cell-sizes 4,64,16 fly-me-to-the-moon.osrm" Then stdout should be empty And stderr should contain "must be sorted in non-descending order" And it should exit with an error
Save
cmd:
run