tests: fix hghave test for rst2html to not spew error output
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Thu, 05 Nov 2009 11:51:35 +0100
changeset 9719 a73f9ee83832
parent 9718 fe1b19bfe75b
child 9720 bb00a159e594
tests: fix hghave test for rst2html to not spew error output
tests/hghave
--- 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 \