Patchwork D11218: clone: test local clone in `test-clone-uncompressed.t` too

login
register
mail settings
Submitter phabricator
Date July 27, 2021, 8:15 p.m.
Message ID <differential-rev-PHID-DREV-6zqt5xpexx24e3oht6kv-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/49532/
State Superseded
Headers show

Comments

phabricator - July 27, 2021, 8:15 p.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This is not an uncompressed test but needs to be tested in the same kind of
  constraints regarding special file name.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

REVISION DETAIL
  https://phab.mercurial-scm.org/D11218

AFFECTED FILES
  tests/test-clone-uncompressed.t

CHANGE DETAILS




To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/tests/test-clone-uncompressed.t b/tests/test-clone-uncompressed.t
--- a/tests/test-clone-uncompressed.t
+++ b/tests/test-clone-uncompressed.t
@@ -156,6 +156,19 @@ 
   $ cat hg.pid > $DAEMON_PIDS
   $ cd ..
 
+Check local clone
+==================
+
+The logic is close enough of uncompressed.
+This is present here to reuse the testing around file with "special" names.
+
+  $ hg clone server local-clone
+  updating to branch default
+  1086 files updated, 0 files merged, 0 files removed, 0 files unresolved
+
+Check uncompressed
+==================
+
 Cannot stream clone when server.uncompressed is set
 
   $ get-with-headers.py $LOCALIP:$HGPORT '?cmd=stream_out'