test: distinguish better between stderr/stdout of the subprocess

This commit is contained in:
Peter Hutterer 2023-03-01 14:43:51 +10:00
parent 1a64b4963d
commit 1b34bc6f7c

View file

@ -304,10 +304,10 @@ class Eis:
if stdout:
for line in stdout.split("\n"):
logger.info(line)
logger.info(f"stdout: {line}")
if stderr:
for line in stderr.split("\n"):
logger.info(line)
logger.info(f"stderr: {line}")
self.process.wait()
rc = self.process.returncode
if rc not in [0, -signal.SIGTERM]: