diff tests/test-hgwebdir @ 5601:8279cb841467

hgwebdir: split out makeindex function, facilitate test failure diagnosis
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Mon, 03 Dec 2007 18:40:37 +0100
parents b90b72729a72
children 268c582bd42a
line wrap: on
line diff
--- a/tests/test-hgwebdir	Mon Dec 03 13:30:08 2007 +0100
+++ b/tests/test-hgwebdir	Mon Dec 03 18:40:37 2007 +0100
@@ -27,7 +27,7 @@
 EOF
 
 hg serve -p $HGPORT -d --pid-file=hg.pid --webdir-conf paths.conf \
-    -A access-paths.log -E error-paths.log
+    -A access-paths.log -E error-paths-1.log
 cat hg.pid >> $DAEMON_PIDS
 
 echo % should give a 404 - file does not exist
@@ -48,7 +48,7 @@
 EOF
 
 hg serve -p $HGPORT1 -d --pid-file=hg.pid --webdir-conf paths.conf \
-    -A access-paths.log -E error-paths.log
+    -A access-paths.log -E error-paths-2.log
 cat hg.pid >> $DAEMON_PIDS
 
 echo % should succeed, slashy names
@@ -75,3 +75,10 @@
 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/a/file/tip/a?style=raw'
 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/b/file/tip/b?style=raw'
 "$TESTDIR/get-with-headers.py" localhost:$HGPORT2 '/c/file/tip/c?style=raw'
+
+echo % paths errors 1
+cat error-paths-1.log
+echo % paths errors 2
+cat error-paths-2.log
+echo % collections errors
+cat error-collections.log