changeset 26145:ca9bb66c80e9

hghave: correct test for debhelper debhelper exits with a nonzero status when you pass --help, at least on jessie.
author Augie Fackler <augie@google.com>
date Mon, 31 Aug 2015 22:43:33 -0400
parents 4bc3707f3e67
children 8c91726caeae
files tests/hghave.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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