##// END OF EJS Templates
test-hgweb: fix shutdown race...
Matt Mackall -
r23952:ea61e278 stable
parent child Browse files
Show More
@@ -595,11 +595,14 b' Uncaught exceptions result in a logged e'
595 Internal Server Error (no-eol)
595 Internal Server Error (no-eol)
596 [1]
596 [1]
597
597
598 $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
598 $ head -1 errors.log
599 $ head -1 errors.log
599 .* Exception happened during processing request '/raiseerror': (re)
600 .* Exception happened during processing request '/raiseerror': (re)
600
601
601 Uncaught exception after partial content sent
602 Uncaught exception after partial content sent
602
603
604 $ hg --config extensions.hgweberror=$TESTDIR/hgweberror.py serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
605 $ cat hg.pid >> $DAEMON_PIDS
603 $ $TESTDIR/get-with-headers.py localhost:$HGPORT 'raiseerror?partialresponse=1' transfer-encoding content-type
606 $ $TESTDIR/get-with-headers.py localhost:$HGPORT 'raiseerror?partialresponse=1' transfer-encoding content-type
604 200 Script output follows
607 200 Script output follows
605 transfer-encoding: chunked
608 transfer-encoding: chunked
@@ -608,4 +611,5 b' Uncaught exception after partial content'
608 partial content
611 partial content
609 Internal Server Error (no-eol)
612 Internal Server Error (no-eol)
610
613
614 $ "$TESTDIR/killdaemons.py" $DAEMON_PIDS
611 $ cd ..
615 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now