diff tests/hghave @ 9326:b236f34ec1e9

Fix failing darcs test
author Bryan O'Sullivan <bos@serpentine.com>
date Thu, 06 Aug 2009 21:35:25 -0700
parents 3f52a70959ce
children 163e79e2ed5f
line wrap: on
line diff
--- a/tests/hghave	Wed Aug 05 22:52:35 2009 -0700
+++ b/tests/hghave	Thu Aug 06 21:35:25 2009 -0700
@@ -51,7 +51,7 @@
     return matchoutput('cvsps -h -q 2>&1', r'cvsps version', True)
 
 def has_darcs():
-    return matchoutput('darcs', r'darcs version', True)
+    return matchoutput('darcs --version', r'2\.[2-9]', True)
 
 def has_mtn():
     return matchoutput('mtn --version', r'monotone', True) and not matchoutput(