fixes #958, activates 2 additional tests

This commit is contained in:
Dennis Luxen 2014-03-20 13:19:36 +01:00
parent c470ea9fa1
commit 8bd5f69e04
2 changed files with 4 additions and 6 deletions

View File

@ -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"

View File

@ -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();