Mercurial > hg
diff tests/test-subrepo-relative-path.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 | 90f8b8dd0326 |
children | d6a4cfefafb3 |
line wrap: on
line diff
--- a/tests/test-subrepo-relative-path.t Tue Apr 03 16:36:25 2012 +0200 +++ b/tests/test-subrepo-relative-path.t Tue Apr 03 19:06:35 2012 +0200 @@ -72,7 +72,7 @@ subrepo paths with ssh urls - $ cp $TESTDIR/dummyssh $BINDIR/ssh + $ cp "$TESTDIR/dummyssh" "$BINDIR/ssh" $ hg clone ssh://user@dummy/cloned sshclone requesting all changes @@ -103,4 +103,4 @@ Got arguments 1:user@dummy 2:hg -R sub serve --stdio Got arguments 1:user@dummy 2:hg -R $TESTTMP/cloned serve --stdio Got arguments 1:user@dummy 2:hg -R $TESTTMP/sub serve --stdio - $ rm $BINDIR/ssh + $ rm "$BINDIR/ssh"