From cc915dbef263a7423dc024f26db9e2328e7b1c37 Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Mon, 21 Apr 2014 19:25:24 +0200 Subject: [PATCH] take 2: workaround platform dependend outputs, discussed in #986 --- features/options/extract/invalid.feature | 2 +- features/options/prepare/invalid.feature | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/features/options/extract/invalid.feature b/features/options/extract/invalid.feature index cd9fe5af4..169e53caa 100644 --- a/features/options/extract/invalid.feature +++ b/features/options/extract/invalid.feature @@ -7,6 +7,6 @@ Feature: osrm-extract command line options: invalid options Scenario: osrm-extract - Non-existing option When I run "osrm-extract --fly-me-to-the-moon" Then stdout should be empty - And stderr should contain "unrecognised option" + And stderr should contain "option" And stderr should contain "fly-me-to-the-moon" And it should exit with code 1 diff --git a/features/options/prepare/invalid.feature b/features/options/prepare/invalid.feature index 8d69d0b19..7450390a8 100644 --- a/features/options/prepare/invalid.feature +++ b/features/options/prepare/invalid.feature @@ -7,6 +7,6 @@ Feature: osrm-prepare command line options: invalid options Scenario: osrm-prepare - Non-existing option When I run "osrm-prepare --fly-me-to-the-moon" Then stdout should be empty - And stderr should contain "unrecognised option" + And stderr should contain "option" And stderr should contain "fly-me-to-the-moon" And it should exit with code 1