changeset 4:bc78b6b29447

http test
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Mon, 23 May 2011 14:31:56 +0200
parents b4932dff9bd8
children 2ec66dbe2ebe
files tests/test-private.t
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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`