Mercurial > public > mercurial-scm > hg
diff tests/test-pull-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 | 220a220ed088 |
children | 8c14f87bd0ae |
line wrap: on
line diff
--- a/tests/test-pull-http.t Fri Jun 05 22:53:15 2015 -0400 +++ b/tests/test-pull-http.t Mon Jun 08 14:44:30 2015 -0500 @@ -40,7 +40,7 @@ [ui] # name and email (local to this repository, optional), e.g. # username = Jane Doe <jdoe@example.com> - $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS + $ killdaemons.py $DAEMON_PIDS expect error, cloning not allowed @@ -55,7 +55,7 @@ $ hg clone http://localhost:$HGPORT/ test4 --config experimental.bundle2-exp=False abort: authorization failed [255] - $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS + $ killdaemons.py $DAEMON_PIDS serve errors @@ -64,7 +64,7 @@ > hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log > cat hg.pid >> $DAEMON_PIDS > hg --cwd ../test pull http://localhost:$HGPORT/ - > "$TESTDIR/killdaemons.py" hg.pid + > killdaemons.py hg.pid > echo % serve errors > cat errors.log > }