1@partition @options @files
2Feature: osrm-partition command line options: files
3    Background:
4        Given the profile "testbot"
5        And the node map
6            """
7            a b
8            """
9        And the ways
10            | nodes |
11            | ab    |
12        And the data has been extracted
13
14    Scenario: osrm-partition - Passing base file
15        When I run "osrm-partition {processed_file}"
16        Then it should exit successfully
17
18    Scenario: osrm-partition - Missing input file
19        When I try to run "osrm-partition over-the-rainbow.osrm"
20        And stderr should contain "over-the-rainbow.osrm"
21        And stderr should contain "not found"
22        And it should exit with an error
23