hghave: correct test for debhelper
authorAugie Fackler <augie@google.com>
Mon, 31 Aug 2015 22:43:33 -0400
changeset 26145 ca9bb66c80e9
parent 26144 4bc3707f3e67
child 26146 8c91726caeae
hghave: correct test for debhelper debhelper exits with a nonzero status when you pass --help, at least on jessie.
tests/hghave.py
--- a/tests/hghave.py	Tue Sep 01 15:47:33 2015 -0400
+++ b/tests/hghave.py	Mon Aug 31 22:43:33 2015 -0400
@@ -441,7 +441,7 @@
     dpkg = matchoutput('dpkg --version',
                        "Debian `dpkg' package management program")
     dh = matchoutput('dh --help',
-                     'dh is a part of debhelper.')
+                     'dh is a part of debhelper.', ignorestatus=True)
     dh_py2 = matchoutput('dh_python2 --help',
                          'other supported Python versions')
     return dpkg and dh and dh_py2