[PATCH 2 of 3] tests: skip cvs tests with msys on windows

Mads Kiilerich mads at kiilerich.com
Sun Nov 20 18:57:34 CST 2011


# HG changeset patch
# User Mads Kiilerich <mads at kiilerich.com>
# Date 1321836560 -3600
# Node ID fb39fd8f094552d60fcab4d0e43106b0e4cff8ef
# Parent  a23c81257b1101c262426f60b59afd45dc5837c8
tests: skip cvs tests with msys on windows

They will fail with weird 'ssh' errors.

diff --git a/tests/hghave b/tests/hghave
--- a/tests/hghave
+++ b/tests/hghave
@@ -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)


More information about the Mercurial-devel mailing list