u-boot/test/py
Simon Glass 0b9e517aaf test/py: Correct sizing of created disks
At present the disks end up being 1MB shorter than they should be,
since dd truncates by default.

Move the code into a function and update it to avoid truncation.

This resolves various warnings when running sandbox tests, of the form:

   mmc_bread() MMC: block number 0x9801 exceeds max(0x9800)

caused by the FAT partition being scanning.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-04-03 11:41:55 -06:00
..
tests test/py: Correct sizing of created disks 2025-04-03 11:41:55 -06:00
.gitignore
conftest.py test/py: Show info about module-loading 2025-03-15 11:47:05 +00:00
console_base.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00
console_board.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00
console_sandbox.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00
multiplexed_log.css
multiplexed_log.py test: Add a way to set the environment for a pytest 2023-02-14 09:43:27 -07:00
pytest.ini test/py: Allow tests to be marked single-threaded only 2022-09-12 18:06:36 -04:00
requirements.txt test_fs: Add exfat tests 2025-04-02 20:00:59 -06:00
spawn.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00
test.py test: remove unused import from pkg_resources 2024-04-12 08:53:31 -06:00
utils.py test/py: Drop u_boot_ prefix on test files 2025-03-15 11:02:04 +00:00