commit | 170eb3279e973a762fde0ea7d3dad903c1e55122 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Mar 15 14:25:49 2025 +0000 |
committer | Tom Rini <trini@konsulko.com> | Thu Apr 03 11:41:55 2025 -0600 |
tree | 2729c7dbe7a902ba795a09ca72471d28a6ffe4cd | |
parent | b834fbff172db3bc174a173d8339b13267b23f95 [diff] |
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>