bootstd: Add setup for the bootflow tests
authorSimon Glass <sjg@chromium.org>
Mon, 25 Apr 2022 05:31:25 +0000 (23:31 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 25 Apr 2022 14:00:04 +0000 (10:00 -0400)
commitfca20a5a6262f2a79f3dca65509510def40dc076
tree22fb15a95e2a2e104cb5b0c27cc92722f51ff672
parentfb1451bec2a54046eeb541d77ba0e5eb55302d46
bootstd: Add setup for the bootflow tests

We need to create a disk image with a partition table and a DOS-format
filesystem containing a few files. Provide a fallback binary for CI since
it does not seem able to detect the loopback partitions.

Add this to a dm_init test so that it happens when needed.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/py/tests/bootstd/mmc1.img.xz [new file with mode: 0644]
test/py/tests/test_ut.py