Mercurial > public > mercurial-scm > hg
diff tests/test-relink.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 | 9910f60a37ee |
children | 8aeb2f1ae94c |
line wrap: on
line diff
--- a/tests/test-relink.t Tue Apr 03 16:36:25 2012 +0200 +++ b/tests/test-relink.t Tue Apr 03 19:06:35 2012 +0200 @@ -25,15 +25,15 @@ $ hg ci -Am addfile adding a adding b - $ cat $TESTDIR/binfile.bin >> a - $ cat $TESTDIR/binfile.bin >> b + $ cat "$TESTDIR/binfile.bin" >> a + $ cat "$TESTDIR/binfile.bin" >> b $ hg ci -Am changefiles make another commit to create files larger than 1 KB to test formatting of final byte count - $ cat $TESTDIR/binfile.bin >> a - $ cat $TESTDIR/binfile.bin >> b + $ cat "$TESTDIR/binfile.bin" >> a + $ cat "$TESTDIR/binfile.bin" >> b $ hg ci -m anotherchange don't sit forever trying to double-lock the source repo