Mercurial > hg
diff tests/test-mq-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 | ea3d548132cc |
children | 5010448197bc |
line wrap: on
line diff
--- a/tests/test-mq-symlinks.t Tue Apr 03 16:36:25 2012 +0200 +++ b/tests/test-mq-symlinks.t Tue Apr 03 19:06:35 2012 +0200 @@ -11,7 +11,7 @@ $ echo ccc > c $ hg add a b c $ hg qrefresh - $ $TESTDIR/readlink.py a + $ "$TESTDIR/readlink.py" a a -> a not a symlink @@ -21,7 +21,7 @@ $ rm a $ ln -s b a $ hg qrefresh --git - $ $TESTDIR/readlink.py a + $ "$TESTDIR/readlink.py" a a -> b $ hg qpop @@ -30,7 +30,7 @@ $ hg qpush applying symlink.patch now at: symlink.patch - $ $TESTDIR/readlink.py a + $ "$TESTDIR/readlink.py" a a -> b @@ -39,7 +39,7 @@ $ rm a $ ln -s c a $ hg qnew --git -f updatelink - $ $TESTDIR/readlink.py a + $ "$TESTDIR/readlink.py" a a -> c $ hg qpop popping updatelink @@ -49,7 +49,7 @@ patching file a a now at: updatelink - $ $TESTDIR/readlink.py a + $ "$TESTDIR/readlink.py" a a -> c $ hg st @@ -104,5 +104,5 @@ $ hg qpush applying movelink now at: movelink - $ $TESTDIR/readlink.py linkb + $ "$TESTDIR/readlink.py" linkb linkb -> linkb