diff tests/test-webraw @ 2536:8106e477f584

Fix new tests to be better. In particular, fix webraw test to specify a date on commit to be less brittle, and fix test-oldcgi to test fetching a subdirectory of a webdir instance.
author Eric Hopper <hopper@omnifarious.org>
date Fri, 30 Jun 2006 08:45:52 -0700
parents 84655f721f39
children d75c68b55af8
line wrap: on
line diff
--- a/tests/test-webraw	Thu Jun 29 19:06:18 2006 -0700
+++ b/tests/test-webraw	Fri Jun 30 08:45:52 2006 -0700
@@ -9,7 +9,7 @@
 care about things like that.
 ENDSOME
 hg add sometext.txt
-hg commit -m "Just some text"
+hg commit -d "1 0" -m "Just some text"
 hg serve -p 20059 -A access.log -E error.log -d --pid-file=hg.pid
 ("$TESTDIR/get-with-headers.py" localhost:20059 '/?f=f165dc289438;file=sometext.txt;style=raw' content-type content-length content-disposition) >getoutput.txt &