test-convert-svn-branches: filter unwanted output

Windows cmd.exe emits a different message than sh:
"""
foobar is not recognized as an internal or external command,
operable program or batch file.
"""
Filter it.
This commit is contained in:
Patrick Mezard 2010-01-03 19:13:55 +01:00
parent 270c4ac7da
commit c15065cb20
2 changed files with 1 additions and 2 deletions

View File

@ -25,5 +25,5 @@ hg tags -q
cd ..
echo '% test hg failing to call itself'
HG=foobar hg convert svn-repo B-hg 2>&1 | grep -v foobar
HG=foobar hg convert svn-repo B-hg 2>&1 | grep itself

View File

@ -49,5 +49,4 @@ old 9:
old2 8:
tip
% test hg failing to call itself
initializing destination B-hg repository
abort: Mercurial failed to run itself, check hg executable is in PATH