tests/hghave
changeset 15567 8b84d040d9f9
parent 15539 d09ea5bbc9a4
child 15568 08635f4e44be
--- a/tests/hghave	Wed Nov 23 16:35:17 2011 -0600
+++ b/tests/hghave	Mon Nov 21 01:49:20 2011 +0100
@@ -221,6 +221,9 @@
 def has_tic():
     return matchoutput('test -x "`which tic`"', '')
 
+def has_msys():
+    return os.getenv('MSYSTEM')
+
 checks = {
     "baz": (has_baz, "GNU Arch baz client"),
     "bzr": (has_bzr, "Canonical's Bazaar client"),
@@ -255,6 +258,7 @@
     "tla": (has_tla, "GNU Arch tla client"),
     "unix-permissions": (has_unix_permissions, "unix-style permissions"),
     "windows": (has_windows, "Windows"),
+    "msys": (has_msys, "Windows with MSYS"),
 }
 
 def list_features():