fixes #958, activates 2 additional tests
This commit is contained in:
parent
c470ea9fa1
commit
8bd5f69e04
@ -33,17 +33,14 @@ Feature: Command line options
|
||||
And stdout should contain "--port"
|
||||
And stdout should contain "--threads"
|
||||
And stdout should contain "--sharedmemory"
|
||||
|
||||
@todo
|
||||
|
||||
Scenario: Non-existing option
|
||||
When I run "osrm-routed --fly-me-to-the-moon"
|
||||
Then it should exit with code 255
|
||||
Then stdout should be empty
|
||||
And stderr should contain "unrecognised option '--fly-me-to-the-moon'"
|
||||
|
||||
@todo
|
||||
|
||||
Scenario: Missing file
|
||||
When I run "osrm-routed overtherainbow.osrm"
|
||||
Then it should exit with code 255
|
||||
Then stdout should be empty
|
||||
And stderr should contain "missing"
|
||||
And stderr should contain "does not exist"
|
||||
|
@ -185,6 +185,7 @@ int main (int argc, const char * argv[])
|
||||
catch (std::exception& e)
|
||||
{
|
||||
std::cerr << "[fatal error] exception: " << e.what() << std::endl;
|
||||
return -1;
|
||||
}
|
||||
#ifdef __linux__
|
||||
munlockall();
|
||||
|
Loading…
Reference in New Issue
Block a user