changeset 10205:45885e8f5704

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.
author Patrick Mezard <pmezard@gmail.com>
date Sun, 03 Jan 2010 19:13:55 +0100
parents 3ca8f2ae5fee
children f5e55f1ca927
files tests/test-convert-svn-branches tests/test-convert-svn-branches.out
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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