Mercurial > public > mercurial-scm > hg-stable
diff tests/test-hgweb-json.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 | 1439bacf0ec7 |
children | 9de443515f1d |
line wrap: on
line diff
--- a/tests/test-hgweb-json.t Fri Jun 05 22:53:15 2015 -0400 +++ b/tests/test-hgweb-json.t Mon Jun 08 14:44:30 2015 -0500 @@ -2,7 +2,7 @@ #require serve $ request() { - > $TESTDIR/get-with-headers.py --json localhost:$HGPORT "$1" + > get-with-headers.py --json localhost:$HGPORT "$1" > } $ hg init test