Mercurial > hg
diff tests/test-subrepo-recursion.t @ 16350:4f795f5fbb0b stable
tests: make tests work if directory contains special characters
With this quoting tests will work e.g. in "/tmp/foo bar/mercurial/".
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 03 Apr 2012 19:06:35 +0200 |
parents | f11eee00c652 |
children | d6a4cfefafb3 |
line wrap: on
line diff
--- a/tests/test-subrepo-recursion.t Tue Apr 03 16:36:25 2012 +0200 +++ b/tests/test-subrepo-recursion.t Tue Apr 03 19:06:35 2012 +0200 @@ -262,7 +262,7 @@ Test archiving to a directory tree (the doubled lines in the output only show up in the test output, not in real usage): - $ hg archive --subrepos ../archive 2>&1 | $TESTDIR/filtercr.py + $ hg archive --subrepos ../archive 2>&1 | "$TESTDIR/filtercr.py" archiving [ ] 0/3 archiving [ ] 0/3 @@ -302,7 +302,7 @@ Test archiving to zip file (unzip output is unstable): - $ hg archive --subrepos ../archive.zip 2>&1 | $TESTDIR/filtercr.py + $ hg archive --subrepos ../archive.zip 2>&1 | "$TESTDIR/filtercr.py" archiving [ ] 0/3 archiving [ ] 0/3 @@ -333,7 +333,7 @@ $ hg clone -U . ../empty $ cd ../empty - $ hg archive --subrepos -r tip ../archive.tar.gz 2>&1 | $TESTDIR/filtercr.py + $ hg archive --subrepos -r tip ../archive.tar.gz 2>&1 | "$TESTDIR/filtercr.py" archiving [ ] 0/3 archiving [ ] 0/3