Mercurial > hg
diff tests/hghave @ 6079:ea34059b89de
convert: added GNU Arch (tla) tests and related fixes
author | Aleix Conchillo Flaque <aleix@member.fsf.org> |
---|---|
date | Tue, 12 Feb 2008 11:35:06 +0100 |
parents | ebc23d34102f |
children | 3b841c189ab7 |
line wrap: on
line diff
--- a/tests/hghave Tue Feb 12 10:38:34 2008 +0100 +++ b/tests/hghave Tue Feb 12 11:35:06 2008 +0100 @@ -88,6 +88,9 @@ def has_symlink(): return hasattr(os, "symlink") +def has_tla(): + return matchoutput('tla --version 2>&1', r'The GNU Arch Revision') + def has_unix_permissions(): d = tempfile.mkdtemp(prefix=tempprefix, dir=".") try: @@ -118,6 +121,7 @@ "svn": (has_svn, "subversion client and admin tools"), "svn-bindings": (has_svn_bindings, "subversion python bindings"), "symlink": (has_symlink, "symbolic links"), + "tla": (has_tla, "GNU Arch tla client"), "unix-permissions": (has_unix_permissions, "unix-style permissions"), }