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.
--- a/tests/test-bisect Mon Nov 02 17:06:11 2009 -0500
+++ b/tests/test-bisect Wed Nov 04 09:34:04 2009 +0100
@@ -87,7 +87,7 @@
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 <<EOF