diff tests/test-keyword @ 6354:57a47660b319

tests: add tests for hgweb to test-keyword
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Sat, 22 Mar 2008 18:33:10 +0100
parents 991f7518c3f3
children 01e95d4bc66c
line wrap: on
line diff
--- a/tests/test-keyword	Sat Mar 22 20:15:30 2008 +0100
+++ b/tests/test-keyword	Sat Mar 22 18:33:10 2008 +0100
@@ -296,3 +296,13 @@
 echo % hg cat
 hg cat sym a b
 echo
+
+echo % hg serve
+hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
+cat hg.pid >> $DAEMON_PIDS
+echo % hgweb changeset
+("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/tip/?style=raw')
+echo % hgweb filediff
+("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/bb948857c743/a?style=raw')
+echo % errors encountered
+cat errors.log