LittleFS test only works for specific device parameters #54726
Labels
area: File System
area: Tests
Issues related to a particular existing or missing test
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
Stale
Describe the bug
The tests/subsys/fs/littlefs test only works for platforms with certain block sizes and counts. One can see in the clean_statvfs function that this test will check for these parameters and fail the assertions there if the device does not meet these specific requirements. If these assertions are removed, the test will most likely fail later because the device runs out of space or some other problem due to the fact that the test is written for a very specific set of parameters, and is not useful to test most platforms.
Expected behavior
Expected to be able to test littlefs on any device regardless of block size and count etc
Impact
Not easy to test LittleFS on most platforms in zephyr except with the sample
The text was updated successfully, but these errors were encountered: