[PATCH] test-http-branchmap: avoid failure with a different hostname than localhost

Christian Ebert blacktrash at gmx.net
Fri Oct 1 15:40:58 CDT 2010


# HG changeset patch
# User Christian Ebert <blacktrash at gmx.net>
# Date 1285965588 -7200
# Node ID 3ee2f2dbde23d248f410e92feb54c6fb87fed061
# Parent  03c5737a06a1c4493c7c0d612ce431bf0950525c
test-http-branchmap: avoid failure with a different hostname than localhost

"bound to 127.0.0.1" should be enough for verification.

diff --git a/tests/test-http-branchmap.t b/tests/test-http-branchmap.t
--- a/tests/test-http-branchmap.t
+++ b/tests/test-http-branchmap.t
@@ -10,7 +10,7 @@
   $ hg -R a ci -Am foo
   adding foo
   $ hgserve -R a --config web.push_ssl=False --config web.allow_push=* --encoding latin1
-  listening at http://localhost*/ (bound to 127.0.0.1:*) (glob)
+  listening at http://*/ (bound to 127.0.0.1:*) (glob)
   $ hg --encoding utf-8 clone http://localhost:$HGPORT1 b
   requesting all changes
   adding changesets


More information about the Mercurial-devel mailing list