comparison tests/test-serve.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 7a9cbb315d84
children 839380cc3368
comparison
equal deleted inserted replaced
25470:378a8e700e02 25472:4d2b9b304ad0
7 > -e "s/:$HGPORT2\\([^0-9]\\)/:HGPORT2\1/g" \ 7 > -e "s/:$HGPORT2\\([^0-9]\\)/:HGPORT2\1/g" \
8 > -e 's/http:\/\/[^/]*\//http:\/\/localhost\//' 8 > -e 's/http:\/\/[^/]*\//http:\/\/localhost\//'
9 > cat hg.pid >> "$DAEMON_PIDS" 9 > cat hg.pid >> "$DAEMON_PIDS"
10 > echo % errors 10 > echo % errors
11 > cat errors.log 11 > cat errors.log
12 > "$TESTDIR/killdaemons.py" hg.pid 12 > killdaemons.py hg.pid
13 > } 13 > }
14 14
15 $ hg init test 15 $ hg init test
16 $ cd test 16 $ cd test
17 $ echo '[web]' > .hg/hgrc 17 $ echo '[web]' > .hg/hgrc