# HG changeset patch # User Martin Geisler # Date 2009-11-04 08:34:04 # Node ID a9424b6a1a6da70f28b1a61221d8fdc9e044f6c8 # Parent 38deec407f8dc43a28d5b050b6c50725994d27e1 test-bisect: normalize shell error message Different shells on vary in their error messages. Here we're satisfied if the shell mentions './foobar' at all. diff --git a/tests/test-bisect b/tests/test-bisect --- a/tests/test-bisect +++ b/tests/test-bisect @@ -87,7 +87,7 @@ set +e echo % test invalid command hg bisect -r -hg bisect --command './foobar' 2>&1 | sed 's/: command/:/' +hg bisect --command './foobar' 2>&1 | sed 's|\(/bin/sh: \./foobar:\).*|\1 not found|' echo % test bisecting command cat > script.py <