Mercurial > hg
diff tests/test-bundle2-exchange.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 | 36111f98f23d |
children | 8c14f87bd0ae |
line wrap: on
line diff
--- a/tests/test-bundle2-exchange.t Fri Jun 05 22:53:15 2015 -0400 +++ b/tests/test-bundle2-exchange.t Mon Jun 08 14:44:30 2015 -0500 @@ -466,7 +466,7 @@ > failpush=$TESTTMP/failpush.py > EOF - $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS + $ killdaemons.py $DAEMON_PIDS $ hg -R other serve -p $HGPORT2 -d --pid-file=other.pid -E other-error.log $ cat other.pid >> $DAEMON_PIDS @@ -562,7 +562,7 @@ > txnabort.failpush = sh -c "echo 'Cleaning up the mess...'" > EOF - $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS + $ killdaemons.py $DAEMON_PIDS $ hg -R other serve -p $HGPORT2 -d --pid-file=other.pid -E other-error.log $ cat other.pid >> $DAEMON_PIDS @@ -625,7 +625,7 @@ $ cat << EOF >> $HGRCPATH > pretxnchangegroup = sh -c "echo 'Fail early!'; false" > EOF - $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS # reload http config + $ killdaemons.py $DAEMON_PIDS # reload http config $ hg -R other serve -p $HGPORT2 -d --pid-file=other.pid -E other-error.log $ cat other.pid >> $DAEMON_PIDS