test/py: Allow passing input to a program
authorSimon Glass <sjg@chromium.org>
Sat, 23 Oct 2021 23:25:57 +0000 (17:25 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 28 Nov 2021 23:51:51 +0000 (16:51 -0700)
commit15156c95e9710447cc66f4b18009220bc4098d4e
treebb5072d828bff1b0d189e0e4156e2cfbb5e95e2e
parentc700f109a312d0c14b5409765013af4b7335d879
test/py: Allow passing input to a program

When running a program on the host, allow input to be passed in as stdin.
This is needed for running sfdisk, for example.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/py/multiplexed_log.py
test/py/u_boot_utils.py