stream-requirements: smoother matching in test-hgweb-commands.t
authorPierre-Yves David <pierre-yves.david@octobus.net>
Tue, 18 Jan 2022 10:50:20 +0100
changeset 48648 2a13ad130f49
parent 48647 df6df5dd838e
child 48649 a746d13987a6
stream-requirements: smoother matching in test-hgweb-commands.t The value of `streamreqs` changes depending of the format used, but this is not relevant for this tests. So we doing a smarter matching of the line to avoid this test interfering with format changes in the future. Differential Revision: https://phab.mercurial-scm.org/D12079
tests/test-hgweb-commands.t
--- a/tests/test-hgweb-commands.t	Tue Jan 18 10:50:08 2022 +0100
+++ b/tests/test-hgweb-commands.t	Tue Jan 18 10:50:20 2022 +0100
@@ -2193,8 +2193,7 @@
   lookup
   pushkey
   stream-preferred
-  streamreqs=generaldelta,revlogv1,sparserevlog (no-rust !)
-  streamreqs=generaldelta,persistent-nodemap,revlogv1,sparserevlog (rust !)
+  streamreqs=*,* (glob)
   unbundle=HG10GZ,HG10BZ,HG10UN
   unbundlehash