diff options
Diffstat (limited to 'tests/test-static-http.t')
-rw-r--r-- | tests/test-static-http.t | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/tests/test-static-http.t b/tests/test-static-http.t index ed9ab54..d454fbf 100644 --- a/tests/test-static-http.t +++ b/tests/test-static-http.t @@ -1,14 +1,7 @@ - $ "$TESTDIR/hghave" serve || exit 80 -#if windows - $ hg clone http://localhost:$HGPORT/ copy - abort: * (glob) - [255] -#else $ hg clone http://localhost:$HGPORT/ copy abort: error: Connection refused [255] -#endif $ test -d copy [1] @@ -72,7 +65,7 @@ check for HTTP opener failures when cachefile does not exist $ rm .hg/cache/* $ cd ../local $ echo '[hooks]' >> .hg/hgrc - $ echo "changegroup = python \"$TESTDIR/printenv.py\" changegroup" >> .hg/hgrc + $ echo 'changegroup = python "$TESTDIR"/printenv.py changegroup' >> .hg/hgrc $ hg pull pulling from static-http://localhost:$HGPORT/remote searching for changes @@ -80,7 +73,7 @@ check for HTTP opener failures when cachefile does not exist adding manifests adding file changes added 1 changesets with 1 changes to 1 files - changegroup hook: HG_NODE=4ac2e3648604439c580c69b09ec9d93a88d93432 HG_SOURCE=pull HG_URL=http://localhost:$HGPORT/remote + changegroup hook: HG_NODE=4ac2e3648604439c580c69b09ec9d93a88d93432 HG_SOURCE=pull HG_URL=http://localhost:$HGPORT/remote (run 'hg update' to get a working copy) trying to push @@ -91,7 +84,7 @@ trying to push $ hg commit -m"test" $ hg push pushing to static-http://localhost:$HGPORT/remote - abort: destination does not support push + abort: cannot lock static-http repository [255] trying clone -r @@ -112,9 +105,6 @@ test with "/" URI (issue 747) and subrepo $ hg init $ hg init sub - $ touch sub/test - $ hg -R sub commit -A -m "test" - adding test $ hg -R sub tag not-empty $ echo sub=sub > .hgsub $ echo a > a @@ -132,7 +122,7 @@ test with "/" URI (issue 747) and subrepo adding changesets adding manifests adding file changes - added 2 changesets with 2 changes to 2 files + added 1 changesets with 1 changes to 1 files 3 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd local2 $ hg verify |