]> git.ipfire.org Git - thirdparty/u-boot.git/commit
test: Fix broken fs_obj_fat fixture
authorSimon Glass <sjg@chromium.org>
Sat, 4 Apr 2026 14:03:07 +0000 (08:03 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 21 Apr 2026 21:30:38 +0000 (15:30 -0600)
commite072d3aa24d09b8160af4596b82023ae94739c1d
tree8df640400b46900fd37228c0ad4f14b29be1c27a
parent4e1793b1fb21e3896cf018fc35fc2c9c3e202138
test: Fix broken fs_obj_fat fixture

The removal of the size_gran parameter from mk_fs() leaves a stale
positional argument (1024) that is now interpreted as the fs_img
filename. Since 1024 is an integer, os.path.join() raises TypeError,
causing the fixture to silently skip via the bare except clause.

Drop the stale argument so the fixture works again.

Fixes: d030dc34d67a ("test: fs_helper: Drop the size_gran argument")
Signed-off-by: Simon Glass <sjg@chromium.org>
test/py/tests/test_fs/conftest.py