tests: relax pattern matching for newer docker
authorSean Farley <sean@farley.io>
Fri, 15 Apr 2016 14:47:32 -0700
changeset 28972 aa927b0a5b87
parent 28971 bacca31f4835
child 28973 fc0f9714d077
tests: relax pattern matching for newer docker
tests/hghave.py
--- a/tests/hghave.py	Sun Apr 17 02:29:33 2016 +0530
+++ b/tests/hghave.py	Fri Apr 15 14:47:32 2016 -0700
@@ -458,7 +458,7 @@
 
 @check("docker", "docker support")
 def has_docker():
-    pat = r'A self-sufficient runtime for linux containers\.'
+    pat = r'A self-sufficient runtime for'
     if matchoutput('docker --help', pat):
         if 'linux' not in sys.platform:
             # TODO: in theory we should be able to test docker-based