Mercurial > public > mercurial-scm > hg-stable
diff tests/test-archive-symlinks.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 | aa2abde72da1 |
children | f2719b387380 |
line wrap: on
line diff
--- a/tests/test-archive-symlinks.t Tue Apr 03 16:36:25 2012 +0200 +++ b/tests/test-archive-symlinks.t Tue Apr 03 19:06:35 2012 +0200 @@ -18,7 +18,7 @@ $ cd "$origdir" $ cd archive - $ $TESTDIR/readlink.py dangling + $ "$TESTDIR/readlink.py" dangling dangling -> nothing tar @@ -26,7 +26,7 @@ $ cd "$origdir" $ tar xf archive.tar $ cd tar - $ $TESTDIR/readlink.py dangling + $ "$TESTDIR/readlink.py" dangling dangling -> nothing zip @@ -34,5 +34,5 @@ $ cd "$origdir" $ unzip archive.zip > /dev/null $ cd zip - $ $TESTDIR/readlink.py dangling + $ "$TESTDIR/readlink.py" dangling dangling -> nothing