test-mq-qclone-http: hide port number
authorMartin Geisler <mg@lazybytes.net>
Sat, 13 Feb 2010 02:08:27 +0100
changeset 10442 662b0f9eb148
parent 10441 dc0d1ca2d378
child 10443 62d484a81dfe
test-mq-qclone-http: hide port number
tests/test-mq-qclone-http
tests/test-mq-qclone-http.out
--- a/tests/test-mq-qclone-http	Sat Feb 13 09:49:06 2010 -0600
+++ b/tests/test-mq-qclone-http	Sat Feb 13 02:08:27 2010 +0100
@@ -77,5 +77,5 @@
 hg --cwd d log --template "{desc}\n"
 
 echo '% test --mq works and uses correct repository config'
-hg --cwd d outgoing --mq
+hg --cwd d outgoing --mq | sed "s|$HGPORT2|\$HGPORT2|"
 hg --cwd d log --mq --template '{rev} {desc|firstline}\n'
--- a/tests/test-mq-qclone-http.out	Sat Feb 13 09:49:06 2010 -0600
+++ b/tests/test-mq-qclone-http.out	Sat Feb 13 02:08:27 2010 +0100
@@ -79,7 +79,7 @@
 imported patch b.patch
 a
 % test --mq works and uses correct repository config
-comparing with http://localhost:20061/a/.hg/patches
+comparing with http://localhost:$HGPORT2/a/.hg/patches
 searching for changes
 no changes found
 0 b.patch