test/py: multiplexed_log.py: Clean up and correct RunAndLog()
authorTom Rini <trini@konsulko.com>
Fri, 24 Oct 2025 17:26:42 +0000 (11:26 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 7 Nov 2025 20:19:46 +0000 (14:19 -0600)
commit20b822dd4f01a7489f888460f70d7830e0513965
tree6d87c0d73dd8860148e236d44082a6e11deaec6a
parent09ca8d472e6d28b6c81c4253c172aa85a61ba25c
test/py: multiplexed_log.py: Clean up and correct RunAndLog()

The general python documentation for the subprocess class recommends
that run() be used in all cases that it can handle. What we do in
RunAndLog is simple enough that run() is easy to switch to. In fact,
looking at this exposed a problem we have today, which is that we had
combined stdout and stderr but then looked at both stdout and stderr as
if they were separate. Stop combining them.

Signed-off-by: Tom Rini <trini@konsulko.com>
test/py/multiplexed_log.py