diff options
author | Tom Rini <trini@konsulko.com> | 2025-03-20 07:59:24 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-04-08 13:51:09 -0600 |
commit | fce92e304fcd8bdba522a43aeef12cc3b0b2df56 (patch) | |
tree | 9015a2bda1933003d53ea796e97c0d05036cb554 /test/py/console_sandbox.py | |
parent | f98d2a31271dd3357e4f13a77b62cd383bd3f09d (diff) |
test/py/tests: Move "setup_image" from test_ut.py to fs_helper.py
The generic function in test_ut.py to create a disk image with partition
table can be useful outside of test_ut.py so move it to be available
more clearly.
To make this a bit more easily used library function, make use of
check_call directly rather than calling things though u_boot_utils. In
turn, to more easily handle stdin here, use the shell "printf" utility
to pass sfdisk the specification to create as we do not have an actual
file descriptor to use here.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'test/py/console_sandbox.py')
0 files changed, 0 insertions, 0 deletions