]> git.ipfire.org Git - people/ms/u-boot.git/commit
fs-test: Add FAT16 support
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Mon, 25 Sep 2017 19:06:32 +0000 (22:06 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 6 Oct 2017 15:28:18 +0000 (11:28 -0400)
commitedce588a4541be6f0dee397f9b501b5569bbb892
tree588595ff9ac72e8dc23825d66ccc033deea3e909
parent385b73185596cfc9e2acb74ab66abe91c06177f3
fs-test: Add FAT16 support

Currently we can only test FAT32 which is the default FAT version that
mkfs.vfat creates by default. Instead make it explicitly create either a
FAT16 or a FAT32 volume. This allows us to exercise more code, for
instance the root directory handling is done differently in FAT32 than
the older FATs.

Adding FAT12 support is a much bigger job since the test creates a 2.5GB
file and the FAT12 maximum partition size is way smaller than that.

Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Reviewed-by: Tom Rini <trini@konsulko.com>
test/fs/fs-test.sh