# HG changeset patch # User Thomas Arendsen Hein # Date 1333472795 -7200 # Node ID 70b4494ccf1dc91c274d212f73d961a49351d3db # Parent 1745fd2dd308cdb8305731541e00f25b6b614e74 tests: make tests work if directory contains special characters With this quoting tests will work e.g. in "/tmp/foo bar/mercurial/". [ original upstream message ] diff -r 1745fd2dd308 -r 70b4494ccf1d tests/test-keyword.t --- a/tests/test-keyword.t Mon Apr 02 17:02:03 2012 -0500 +++ b/tests/test-keyword.t Tue Apr 03 19:06:35 2012 +0200 @@ -907,14 +907,14 @@ $ hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log $ cat hg.pid >> $DAEMON_PIDS - $ $TESTDIR/get-with-headers.py localhost:$HGPORT '/file/tip/a/?style=raw' + $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/a/?style=raw' 200 Script output follows expand $Id: a bb948857c743 Thu, 01 Jan 1970 00:00:02 +0000 user $ do not process $Id: xxx $ $Xinfo: User Name : firstline $ - $ $TESTDIR/get-with-headers.py localhost:$HGPORT '/annotate/tip/a/?style=raw' + $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/annotate/tip/a/?style=raw' 200 Script output follows @@ -926,7 +926,7 @@ - $ $TESTDIR/get-with-headers.py localhost:$HGPORT '/rev/tip/?style=raw' + $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/tip/?style=raw' 200 Script output follows @@ -946,7 +946,7 @@ +xxx $ +$Xinfo$ - $ $TESTDIR/get-with-headers.py localhost:$HGPORT '/diff/bb948857c743/a?style=raw' + $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/bb948857c743/a?style=raw' 200 Script output follows