tests/test-hgweb.t
branchstable
changeset 23952 ea61e278ae92
parent 23744 d1933c2e3c8c
child 24054 fdf7794be41d
child 24296 b73a22d1d9bf
--- a/tests/test-hgweb.t	Thu Jan 22 00:08:13 2015 +0900
+++ b/tests/test-hgweb.t	Fri Jan 23 17:47:04 2015 -0600
@@ -595,11 +595,14 @@
   Internal Server Error (no-eol)
   [1]
 
+  $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
   $ head -1 errors.log
   .* Exception happened during processing request '/raiseerror': (re)
 
 Uncaught exception after partial content sent
 
+  $ hg --config extensions.hgweberror=$TESTDIR/hgweberror.py serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
+  $ cat hg.pid >> $DAEMON_PIDS
   $ $TESTDIR/get-with-headers.py localhost:$HGPORT 'raiseerror?partialresponse=1' transfer-encoding content-type
   200 Script output follows
   transfer-encoding: chunked
@@ -608,4 +611,5 @@
   partial content
   Internal Server Error (no-eol)
 
+  $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
   $ cd ..