tests/hghave
changeset 6078 ebc23d34102f
parent 6063 b74a0c4bfb30
child 6079 ea34059b89de
--- 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"),