From 24fa3374e041f9ad26b6f124aed0c5a61a7d551e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 20 Nov 2019 10:55:18 +1300 Subject: [PATCH] python: Return the stdout when also checking error codes This will aid in checking that ndrdump behaves as expected when failing to parse Signed-off-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- python/samba/tests/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/samba/tests/__init__.py b/python/samba/tests/__init__.py index fef21d261ca..3f22eaa1c94 100644 --- a/python/samba/tests/__init__.py +++ b/python/samba/tests/__init__.py @@ -438,6 +438,7 @@ class BlackboxTestCase(TestCaseInTempDir): stdoutdata, stderrdata, msg) + return stdoutdata def check_output(self, line): use_shell = not isinstance(line, list) -- 2.47.3