site

(Pierre-Yves David)
2011-05-23: http test

http test

diff --git a/tests/test-private.t b/tests/test-private.t
--- a/tests/test-private.t
+++ b/tests/test-private.t
@@ -113,3 +113,13 @@ test incoming and pull
   $ hg -R other2 log --template='{rev}:{node|short}\n'
   1:710fe444b3b0
   0:5caa672bac26
+
+test on http
+
+  $ hg -R local serve -p $HGPORT -d --pid-file=local.pid
+  $ cat local.pid >> "$DAEMON_PIDS"
+  $ hg clone http://localhost:$HGPORT/ other3
+  $ hg -R other2 log --template='{rev}:{node|short}\n'
+  1:710fe444b3b0
+  0:5caa672bac26
+  $ kill `cat local.pid`