diff tests/test-hgweb @ 5924:b8009718a211

better error reporting for hg serve errors in tests
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Tue, 22 Jan 2008 09:11:11 +0100
parents 1b365c5723bc
children 2c370f08c486
line wrap: on
line diff
--- a/tests/test-hgweb	Tue Jan 22 09:11:08 2008 +0100
+++ b/tests/test-hgweb	Tue Jan 22 09:11:11 2008 +0100
@@ -7,7 +7,7 @@
 echo foo > da/foo
 echo foo > foo
 hg ci -Ambase -d '0 0'
-hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log
+hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
 cat hg.pid >> $DAEMON_PIDS
 echo % manifest
 ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/?style=raw')
@@ -37,3 +37,6 @@
 
 echo % static file
 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/static/style-gitweb.css'
+
+echo % errors
+cat errors.log