diff tests/test-share.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 cd79fb4d75fd
children 8c14f87bd0ae
line wrap: on
line diff
--- a/tests/test-share.t	Fri Jun 05 22:53:15 2015 -0400
+++ b/tests/test-share.t	Mon Jun 08 14:44:30 2015 -0500
@@ -99,7 +99,7 @@
 
   $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid
   $ cat hg.pid >> $DAEMON_PIDS
-  $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'raw-file/'
+  $ get-with-headers.py localhost:$HGPORT 'raw-file/'
   200 Script output follows
   
   
@@ -299,5 +299,5 @@
 
 Explicitly kill daemons to let the test exit on Windows
 
-  $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
+  $ killdaemons.py $DAEMON_PIDS