diff options
| author | Tom Rini <[email protected]> | 2026-02-18 14:58:36 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-02-18 15:02:58 -0600 |
| commit | 7dca54ef4c44c82bdc6716ac6cdc84c22c66e9ed (patch) | |
| tree | 685fc391514228cc2708383020090c2874899bf3 /test/py | |
| parent | 73823d1c581617a9adbecae1f4aa06c313e0a2f6 (diff) | |
| parent | 6be3db6c1ab33c7ad90a8b25d7777e8425bf15cf (diff) | |
Merge patch series "test: cmd: Add test for zip/unzip/gzwrite commands"
Marek Vasut <[email protected]> says:
Enable zip command in sandbox so it is always build tested.
Add simple test for zip/unzip/gzwrite commands so they are
unit tested.
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'test/py')
| -rw-r--r-- | test/py/tests/test_ut.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/py/tests/test_ut.py b/test/py/tests/test_ut.py index 6d535b5206d..b7166d59943 100644 --- a/test/py/tests/test_ut.py +++ b/test/py/tests/test_ut.py @@ -522,6 +522,12 @@ def test_ut_dm_init(ubman): with open(fn, 'wb') as fh: fh.write(data) + mmc_dev = 9 + fn = os.path.join(ubman.config.source_dir, f'mmc{mmc_dev}.img') + data = b'\x00' * (32 * 1024 * 1024) + with open(fn, 'wb') as fh: + fh.write(data) + def setup_efi_image(ubman): """Create a 20MB disk image with an EFI app on it""" |
