diff tests/hghave.py @ 28972:aa927b0a5b87

tests: relax pattern matching for newer docker
author Sean Farley <sean@farley.io>
date Fri, 15 Apr 2016 14:47:32 -0700
parents f74eed3115fd
children d78e00e4be7c
line wrap: on
line diff
--- 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