aboutsummaryrefslogtreecommitdiffstats
path: root/tests/sos_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sos_tests.py')
-rw-r--r--tests/sos_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/sos_tests.py b/tests/sos_tests.py
index a1c68353..b7f7243c 100644
--- a/tests/sos_tests.py
+++ b/tests/sos_tests.py
@@ -121,7 +121,8 @@ class BaseSoSTest(Test):
"""
exec_cmd = self._generate_sos_command()
try:
- self.cmd_output = process.run(exec_cmd, timeout=self.sos_timeout)
+ self.cmd_output = process.run(exec_cmd, timeout=self.sos_timeout,
+ env={'SOS_TEST_LOGS': 'keep'})
except Exception as err:
if not hasattr(err, 'result'):
# can't inspect the exception raised, just bail out