test-convert-svn-branches: filter unwanted output
authorPatrick Mezard <pmezard@gmail.com>
Sun, 03 Jan 2010 19:13:55 +0100
changeset 10205 45885e8f5704
parent 10204 3ca8f2ae5fee
child 10207 f5e55f1ca927
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
tests/test-convert-svn-branches.out
--- 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
 
--- 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