diff -r 7cdc896fdcd5 -r e3a0c092b4e2 tests/test-static-http --- a/tests/test-static-http Fri Oct 05 09:30:02 2007 -0700 +++ b/tests/test-static-http Fri Oct 05 12:17:01 2007 -0700 @@ -2,18 +2,18 @@ cp "$TESTDIR"/printenv.py . -http_proxy= hg clone static-http://localhost:20059/ copy +http_proxy= hg clone static-http://localhost:$HGPORT/ copy echo $? test -d copy || echo copy: No such file or directory # This server doesn't do range requests so it's basically only good for # one pull cat > dumb.py <> .hg/hgrc echo 'changegroup = python ../printenv.py changegroup' >> .hg/hgrc -http_proxy= hg pull +http_proxy= hg pull | sed -e 's,:[0-9][0-9]*/,/,' echo '% test with "/" URI (issue 747)' cd .. @@ -56,11 +56,11 @@ hg add a hg ci -ma -http_proxy= hg clone static-http://localhost:20059/ local2 +http_proxy= hg clone static-http://localhost:$HGPORT/ local2 | sed -e 's,:[0-9][0-9]*/,/,' cd local2 hg verify cat a -hg paths +hg paths | sed -e 's,:[0-9][0-9]*/,/,' kill $!