tests: skip cvs tests with msys on windows
authorMads Kiilerich <mads@kiilerich.com>
Mon, 21 Nov 2011 01:49:20 +0100
changeset 15568 08635f4e44be
parent 15567 8b84d040d9f9
child 15569 3e13ade423f0
tests: skip cvs tests with msys on windows They will fail with weird 'ssh' errors.
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)