comparison 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
comparison
equal deleted inserted replaced
25470:378a8e700e02 25472:4d2b9b304ad0
97 97
98 hg serve shared clone 98 hg serve shared clone
99 99
100 $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid 100 $ hg serve -n test -p $HGPORT -d --pid-file=hg.pid
101 $ cat hg.pid >> $DAEMON_PIDS 101 $ cat hg.pid >> $DAEMON_PIDS
102 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'raw-file/' 102 $ get-with-headers.py localhost:$HGPORT 'raw-file/'
103 200 Script output follows 103 200 Script output follows
104 104
105 105
106 -rw-r--r-- 4 a 106 -rw-r--r-- 4 a
107 -rw-r--r-- 2 b 107 -rw-r--r-- 2 b
297 bm4 5:92793bfc8cad 297 bm4 5:92793bfc8cad
298 $ cd .. 298 $ cd ..
299 299
300 Explicitly kill daemons to let the test exit on Windows 300 Explicitly kill daemons to let the test exit on Windows
301 301
302 $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS 302 $ killdaemons.py $DAEMON_PIDS
303 303