test/py: test_fs: add tests for creating/deleting many files
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 26 Nov 2019 08:28:49 +0000 (17:28 +0900)
committerTom Rini <trini@konsulko.com>
Thu, 5 Dec 2019 15:28:38 +0000 (10:28 -0500)
commit995237b04921574c3922734005d1493d5ec8be97
treeaf1052f6fbd759f8134f47fe9ba567544ed4c001
parent39606d462c97408fa10c41206631e64225458636
test/py: test_fs: add tests for creating/deleting many files

# This is actually a resent patch of
# [1] https://lists.denx.de/pipermail/u-boot/2019-May/369170.html

Two test cases are added under test_fs_ext:
    test case 10: for root directory
    test case 11: for non-root directory

Those will verify a behavior fixed by the commits related to
root directory
("fs: fat: allocate a new cluster for root directory of fat32" and
"fs: fat: flush a directory cluster properly"), and focus on
handling long-file-name directory entries under a directory.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
test/py/tests/test_fs/test_ext.py