changeset 9719:a73f9ee83832

tests: fix hghave test for rst2html to not spew error output
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Thu, 05 Nov 2009 11:51:35 +0100
parents fe1b19bfe75b
children bb00a159e594
files tests/hghave
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/hghave	Thu Nov 05 10:59:33 2009 +0100
+++ b/tests/hghave	Thu Nov 05 11:51:35 2009 +0100
@@ -121,8 +121,8 @@
     return matchoutput('git --version 2>&1', r'^git version')
 
 def has_rst2html():
-    return matchoutput('rst2html --version', r'^rst2html \(Docutils') or \
-        matchoutput('rst2html.py --version', r'^rst2html.py \(Docutils')
+    return matchoutput('rst2html --version 2>&1', r'^rst2html \(Docutils') or \
+        matchoutput('rst2html.py --version 2>&1', r'^rst2html.py \(Docutils')
 
 def has_svn():
     #return matchoutput('svn --version 2>&1', r'^svn, version') and \