tests/hghave
branchstable
changeset 1013 e00f51032041
parent 1012 018ef69bbe2f
child 1014 58b7f58ae08c
--- a/tests/hghave	Mon Nov 07 03:14:55 2011 +0100
+++ b/tests/hghave	Mon Nov 07 03:14:55 2011 +0100
@@ -212,6 +212,9 @@
 def has_windows():
     return os.name == 'nt'
 
+def has_system_sh():
+    return os.name != 'nt'
+
 checks = {
     "baz": (has_baz, "GNU Arch baz client"),
     "bzr": (has_bzr, "Canonical's Bazaar client"),
@@ -240,6 +243,7 @@
     "svn15": (has_svn15, "subversion client and admin tools >= 1.5"),
     "svn-bindings": (has_svn_bindings, "subversion python bindings"),
     "symlink": (has_symlink, "symbolic links"),
+    "system-sh": (has_system_sh, "system() uses sh"),
     "tla": (has_tla, "GNU Arch tla client"),
     "unix-permissions": (has_unix_permissions, "unix-style permissions"),
     "windows": (has_windows, "Windows"),