diff tests/test-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 df57227a72bf
children 682edefe7dbb
line wrap: on
line diff
--- a/tests/test-http.t	Fri Oct 08 22:36:11 2010 -0500
+++ b/tests/test-http.t	Fri Oct 08 22:36:11 2010 -0500
@@ -18,7 +18,7 @@
 Test server address cannot be reused
 
   $ hg serve -p $HGPORT1 2>&1
-  abort: cannot start server at ':*': Address already in use (glob)
+  abort: cannot start server at ':$HGPORT1': Address already in use
   [255]
   $ cd ..
   $ cat hg1.pid hg2.pid >> $DAEMON_PIDS
@@ -77,8 +77,8 @@
   $ echo '[hooks]' >> .hg/hgrc
   $ echo 'changegroup = python ../printenv.py changegroup' >> .hg/hgrc
   $ hg pull
-  changegroup hook: HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_SOURCE=pull HG_URL=http://localhost:*/* (glob)
-  pulling from http://localhost:*/ (glob)
+  changegroup hook: HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_SOURCE=pull HG_URL=http://localhost:$HGPORT1/ 
+  pulling from http://localhost:$HGPORT1/
   searching for changes
   adding changesets
   adding manifests