# HG changeset patch # User Patrick Mezard # Date 2010-01-03 18:13:55 # 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 --git a/tests/test-convert-svn-branches b/tests/test-convert-svn-branches --- a/tests/test-convert-svn-branches +++ b/tests/test-convert-svn-branches @@ -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 diff --git a/tests/test-convert-svn-branches.out b/tests/test-convert-svn-branches.out --- a/tests/test-convert-svn-branches.out +++ b/tests/test-convert-svn-branches.out @@ -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