]> git.ipfire.org Git - thirdparty/u-boot.git/commit
test: Convert test_fs fixtures to use FsHelper
authorSimon Glass <sjg@chromium.org>
Sat, 4 Apr 2026 14:03:18 +0000 (08:03 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 21 Apr 2026 21:30:39 +0000 (15:30 -0600)
commitbbc04206b5cb358e1482d06c74f2801c9ef97751
treeebe1676917d321cf0eab070a36804ca7473d9df2
parent1469083834bfc9f4925005bf06c0b45957055a54
test: Convert test_fs fixtures to use FsHelper

Replace all direct calls to the mk_fs() function with FsHelper in the
filesystem test fixtures. Each fixture now creates an FsHelper instance,
populates its srcdir with test files, then calls mk_fs() on the object.

This removes manual scratch-directory management and cleanup code, since
FsHelper handles the source directory and image-file lifecycle.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/py/tests/test_fs/conftest.py