tests: skip cvs tests with msys on windows stable
authorMads Kiilerich <mads@kiilerich.com>
Mon, 21 Nov 2011 01:49:20 +0100
branchstable
changeset 1032 5923d03569b3
parent 1031 b914fc162545
child 1033 8cbcb86e4fa8
tests: skip cvs tests with msys on windows They will fail with weird 'ssh' errors. [ original upstream message ]
tests/hghave
--- a/tests/hghave	Mon Nov 21 01:49:20 2011 +0100
+++ b/tests/hghave	Mon Nov 21 01:49:20 2011 +0100
@@ -45,7 +45,7 @@
 
 def has_cvs():
     re = r'Concurrent Versions System.*?server'
-    return matchoutput('cvs --version 2>&1', re)
+    return matchoutput('cvs --version 2>&1', re) and not has_msys()
 
 def has_darcs():
     return matchoutput('darcs --version', r'2\.[2-9]', True)