changeset 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 bacca31f4835
children fc0f9714d077
files tests/hghave.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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