clone: test local clone in `test-clone-uncompressed.t` too stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Tue, 27 Jul 2021 19:16:30 +0200
branchstable
changeset 47783 085ebc80f84b
parent 47782 ebfc315c6077
child 47784 17211649bac2
clone: test local clone in `test-clone-uncompressed.t` too This is not an uncompressed test but needs to be tested in the same kind of constraints regarding special file name. Differential Revision: https://phab.mercurial-scm.org/D11218
tests/test-clone-uncompressed.t
--- a/tests/test-clone-uncompressed.t	Tue Jul 27 00:49:16 2021 +0200
+++ b/tests/test-clone-uncompressed.t	Tue Jul 27 19:16:30 2021 +0200
@@ -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'