From c15065cb207794ae8733f9ceb4be76b4a8ebbaad Mon Sep 17 00:00:00 2001 From: Patrick Mezard Date: Sun, 3 Jan 2010 19:13:55 +0100 Subject: [PATCH] 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. --- tests/test-convert-svn-branches | 2 +- tests/test-convert-svn-branches.out | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test-convert-svn-branches b/tests/test-convert-svn-branches index b5f63a0881..6725394137 100755 --- 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 index f6642af55d..d3580b4065 100644 --- 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