diff tests/test-push-http.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 fecd4966f8d4
children 4c4aeaab2339
line wrap: on
line diff
--- a/tests/test-push-http.t	Fri Oct 08 22:36:11 2010 -0500
+++ b/tests/test-push-http.t	Fri Oct 08 22:36:11 2010 -0500
@@ -25,7 +25,7 @@
 expect ssl error
 
   $ req
-  pushing to http://localhost:*/ (glob)
+  pushing to http://localhost:$HGPORT/
   searching for changes
   remote: ssl required
   % serve errors
@@ -35,7 +35,7 @@
   $ echo '[web]' > .hg/hgrc
   $ echo 'push_ssl = false' >> .hg/hgrc
   $ req
-  pushing to http://localhost:*/ (glob)
+  pushing to http://localhost:$HGPORT/
   searching for changes
   abort: authorization failed
   % serve errors
@@ -44,7 +44,7 @@
 
   $ echo 'allow_push = unperson' >> .hg/hgrc
   $ req
-  pushing to http://localhost:*/ (glob)
+  pushing to http://localhost:$HGPORT/
   searching for changes
   abort: authorization failed
   % serve errors
@@ -55,7 +55,7 @@
   $ echo '[hooks]' >> .hg/hgrc
   $ echo 'changegroup = python ../printenv.py changegroup 0' >> .hg/hgrc
   $ req
-  pushing to http://localhost:*/ (glob)
+  pushing to http://localhost:$HGPORT/
   searching for changes
   remote: adding changesets
   remote: adding manifests
@@ -72,7 +72,7 @@
   $ echo 'push_ssl = false' >> .hg/hgrc
   $ echo 'deny_push = *' >> .hg/hgrc
   $ req
-  pushing to http://localhost:*/ (glob)
+  pushing to http://localhost:$HGPORT/
   searching for changes
   abort: authorization failed
   % serve errors
@@ -81,7 +81,7 @@
 
   $ echo 'deny_push = unperson' >> .hg/hgrc
   $ req
-  pushing to http://localhost:*/ (glob)
+  pushing to http://localhost:$HGPORT/
   searching for changes
   abort: authorization failed
   % serve errors