Mercurial > hg
changeset 9708:a9424b6a1a6d
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.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Wed, 04 Nov 2009 09:34:04 +0100 |
parents | 38deec407f8d |
children | 5858117a0077 |
files | tests/test-bisect |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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