D1562: test: fix common-pattern for *BSD systems

lothiraldan (Boris Feld) phabricator at mercurial-scm.org
Wed Nov 29 23:32:48 EST 2017


lothiraldan created this revision.
lothiraldan added a reviewer: durin42.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  The $USUAL_COMPRESSIONS$ value that was taken was not compatible with *BSD
  systems as zlib seems to not be available on these systems.
  
  This changeset has only been tested on Linux but should fix the pattern for
  *BSD systems.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  tests/common-pattern.py

CHANGE DETAILS

diff --git a/tests/common-pattern.py b/tests/common-pattern.py
--- a/tests/common-pattern.py
+++ b/tests/common-pattern.py
@@ -3,7 +3,7 @@
 
 substitutions = [
     # list of possible compressions
-    (br'zstd,zlib,none,bzip2',
+    (br'(zstd,)?zlib,none,bzip2',
      br'$USUAL_COMPRESSIONS$'
     ),
     # capabilities sent through http



To: lothiraldan, durin42, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list