changeset 7206:a89aa3721114

tests: log and show errors
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Wed, 22 Oct 2008 21:39:56 +0200
parents 2bee44628c41
children fe0a4ed4634f
files tests/test-http-clone-r
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-http-clone-r	Wed Oct 22 19:28:37 2008 +0200
+++ b/tests/test-http-clone-r	Wed Oct 22 21:39:56 2008 +0200
@@ -49,7 +49,7 @@
 hg debugindex .hg/store/00manifest.i
 hg verify
 echo "# Starting server"
-hg serve -p $HGPORT -d --pid-file=../hg1.pid
+hg serve -p $HGPORT -E ../error.log -d --pid-file=../hg1.pid
 cd ..
 cat hg1.pid >> $DAEMON_PIDS
 
@@ -76,3 +76,4 @@
 hg pull http://localhost:$HGPORT/ 2>&1 | sed -e 's,:[0-9][0-9]*/,/,'
 hg verify
 cd ..
+cat error.log