Mercurial > public > mercurial-scm > hg-stable
diff tests/hghave @ 6078:ebc23d34102f
convert: added gnu arch (baz) tests
author | Aleix Conchillo Flaque <aleix@member.fsf.org> |
---|---|
date | Tue, 12 Feb 2008 10:38:34 +0100 |
parents | b74a0c4bfb30 |
children | ea34059b89de |
line wrap: on
line diff
--- a/tests/hghave Sun Feb 10 13:19:24 2008 +0100 +++ b/tests/hghave Tue Feb 12 10:38:34 2008 +0100 @@ -21,6 +21,9 @@ ret = fh.close() return (ignorestatus or ret is None) and r.search(s) +def has_baz(): + return matchoutput('baz --version 2>&1', r'baz Bazaar version') + def has_cvs(): return matchoutput('cvs --version 2>&1', r'Concurrent Versions System') @@ -102,6 +105,7 @@ os.rmdir(d) checks = { + "baz": (has_baz, "GNU Arch baz client"), "cvs": (has_cvs, "cvs client"), "cvsps": (has_cvsps, "cvsps utility"), "darcs": (has_darcs, "darcs client"),