Mercurial > public > mercurial-scm > hg
diff tests/test-http-branchmap.t @ 12643:d08bb64888bc
tests: reintroduce ":$HGPORT" in test output
This reduces the number of patterns that must be adjusted when writing tests.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Fri, 08 Oct 2010 22:36:11 -0500 |
parents | f5f90d3808e2 |
children | 17aa0f1ed89d |
line wrap: on
line diff
--- a/tests/test-http-branchmap.t Fri Oct 08 22:36:11 2010 -0500 +++ b/tests/test-http-branchmap.t Fri Oct 08 22:36:11 2010 -0500 @@ -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://localhost*:$HGPORT1/ (bound to 127.0.0.1:$HGPORT1) (glob) $ hg --encoding utf-8 clone http://localhost:$HGPORT1 b requesting all changes adding changesets @@ -30,7 +30,7 @@ $ echo bar >> b/foo $ hg -R b ci -m bar $ hg --encoding utf-8 -R b push - pushing to http://localhost:* (glob) + pushing to http://localhost:$HGPORT1 searching for changes remote: adding changesets remote: adding manifests