tests: log and show errors
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Wed, 22 Oct 2008 21:39:56 +0200
changeset 7206 a89aa3721114
parent 7205 2bee44628c41
child 7207 fe0a4ed4634f
tests: log and show errors
tests/test-http-clone-r
--- 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