patman: Add a way of recording terminal output for testing
When running unit tests we don't want output to go to the terminal.
Provide a way of collecting it so that it can be examined by test code
later.
Signed-off-by:
Simon Glass <sjg@chromium.org>
Please register or sign in to comment