changeset 10442:662b0f9eb148

test-mq-qclone-http: hide port number
author Martin Geisler <mg@lazybytes.net>
date Sat, 13 Feb 2010 02:08:27 +0100
parents dc0d1ca2d378
children 62d484a81dfe
files tests/test-mq-qclone-http tests/test-mq-qclone-http.out
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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