http test
authorPierre-Yves David <pierre-yves.david@logilab.fr>
Mon, 23 May 2011 14:31:56 +0200
changeset 4 bc78b6b29447
parent 3 b4932dff9bd8
child 6 2ec66dbe2ebe
http test
tests/test-private.t
--- a/tests/test-private.t	Mon May 23 14:25:22 2011 +0200
+++ b/tests/test-private.t	Mon May 23 14:31:56 2011 +0200
@@ -113,3 +113,13 @@
   $ 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`