# HG changeset patch # User Patrick Mezard # Date 1262542435 -3600 # Node ID 45885e8f5704c1b85eb43681b4ae9d0be97c29d6 # Parent 3ca8f2ae5fee019ff2e1f46d0332f79241f61d21 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. diff -r 3ca8f2ae5fee -r 45885e8f5704 tests/test-convert-svn-branches --- a/tests/test-convert-svn-branches Sun Jan 03 20:36:30 2010 +0100 +++ b/tests/test-convert-svn-branches Sun Jan 03 19:13:55 2010 +0100 @@ -25,5 +25,5 @@ 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 diff -r 3ca8f2ae5fee -r 45885e8f5704 tests/test-convert-svn-branches.out --- a/tests/test-convert-svn-branches.out Sun Jan 03 20:36:30 2010 +0100 +++ b/tests/test-convert-svn-branches.out Sun Jan 03 19:13:55 2010 +0100 @@ -49,5 +49,4 @@ 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