##// END OF EJS Templates
tests: use killdaemons in hgweb tests...
Mads Kiilerich -
r7428:fdcde929 default
parent child Browse files
Show More
@@ -31,7 +31,7 b' echo % should give a 404 - file does not'
31 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/tip/bork?style=raw'
31 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/tip/bork?style=raw'
32
32
33 echo % stop and restart
33 echo % stop and restart
34 kill `cat hg.pid`
34 "$TESTDIR/killdaemons.py"
35 hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log
35 hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log
36 cat hg.pid >> $DAEMON_PIDS
36 cat hg.pid >> $DAEMON_PIDS
37 # Test the access/error files are opened in append mode
37 # Test the access/error files are opened in append mode
@@ -20,7 +20,7 b' echo % diff removed file'
20 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/tip/a'
20 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/tip/a'
21
21
22 echo % set up hgweb with git diffs
22 echo % set up hgweb with git diffs
23 kill `cat hg.pid`
23 "$TESTDIR/killdaemons.py"
24 hg serve --config 'diff.git=1' -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
24 hg serve --config 'diff.git=1' -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
25 cat hg.pid >> $DAEMON_PIDS
25 cat hg.pid >> $DAEMON_PIDS
26
26
General Comments 0
You need to be logged in to leave comments. Login now