Mercurial > public > mercurial-scm > hg
diff tests/test-mq-qclone-http.t @ 25472:4d2b9b304ad0
tests: drop explicit $TESTDIR from executables
$TESTDIR is added to the path, so this is superfluous. Also,
inconsistent use of quotes means we might have broken on tests with
paths containing spaces.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 08 Jun 2015 14:44:30 -0500 |
parents | 7a9cbb315d84 |
children | 8c14f87bd0ae |
line wrap: on
line diff
--- a/tests/test-mq-qclone-http.t Fri Jun 05 22:53:15 2015 -0400 +++ b/tests/test-mq-qclone-http.t Mon Jun 08 14:44:30 2015 -0500 @@ -34,7 +34,7 @@ $ hg serve -p $HGPORT -d --pid-file=hg.pid --webdir-conf collections.conf \ > -A access-paths.log -E error-paths-1.log $ cat hg.pid >> $DAEMON_PIDS - $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT '?style=raw' + $ get-with-headers.py localhost:$HGPORT '?style=raw' 200 Script output follows @@ -73,7 +73,7 @@ $ hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf collections1.conf \ > -A access-paths.log -E error-paths-1.log $ cat hg.pid >> $DAEMON_PIDS - $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT1 '?style=raw' + $ get-with-headers.py localhost:$HGPORT1 '?style=raw' 200 Script output follows @@ -112,7 +112,7 @@ $ hg serve -p $HGPORT2 -d --pid-file=hg.pid --webdir-conf collections2.conf \ > -A access-paths.log -E error-paths-1.log $ cat hg.pid >> $DAEMON_PIDS - $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '?style=raw' + $ get-with-headers.py localhost:$HGPORT2 '?style=raw' 200 Script output follows @@ -152,5 +152,5 @@ $ hg --cwd d log --mq --template '{rev} {desc|firstline}\n' 0 b.patch - $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS + $ killdaemons.py $DAEMON_PIDS