u-boot-brain/test
Stephen Warren 4a28274227 test: fat: add test of non-contiguous file reads
In my patch series to replace fs/fat with "ff.c", I enhanced ff.c to
optimize file reading, so that reads of contiguous clusters are submitted
to the IO device as a single read. This test attempts to torture-test
edge-cases of that enhancement.

BTW, the only way I found to validate that this script actually does
create non-contiguous files was to manually inspect the FAT bitmap in a
hex dump of the FAT image. hdparm --fibmap doesn't work on loop-mounted
filesystems. filefrag -v -e seems to lie about files being contiguous
when they aren't.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
2015-10-24 13:50:34 -04:00
..
dfu dfu:tests: Modify dfu_gadget_test.sh to accept USB device vendor:product ID 2015-09-07 13:41:03 +02:00
dm test: Add basic tests for remoteproc 2015-10-22 14:18:40 -04:00
env test: env: Add a test of the new regex behavior for attrs 2015-05-21 09:16:18 -04:00
fs test: fat: add test of non-contiguous file reads 2015-10-24 13:50:34 -04:00
image add test for two 'loadables' 2015-05-28 08:18:21 -04:00
stdint test: Add a simple test to detected warnings with uint64_t, uintptr_t 2014-10-27 11:04:01 -04:00
trace test: Add a test for command repeat 2014-09-24 18:30:28 -04:00
ums test: ums: Add sleep before unmount directory 2014-11-14 21:09:12 +01:00
vboot Implement generalised RSA public exponents for verified boot 2014-08-09 11:17:01 -04:00
cmd_repeat.sh test: Add a test for command repeat 2014-09-24 18:30:28 -04:00
cmd_ut.c test: env: Add test framework for env 2015-05-21 09:16:18 -04:00
command_ut.c hush: make run_command() return an error on parsing failure 2014-11-07 16:27:06 -05:00
common.sh test: Add a test for command repeat 2014-09-24 18:30:28 -04:00
compression.c Add support for LZ4 decompression algorithm 2015-10-11 17:12:10 -04:00
Kconfig test: env: Add test framework for env 2015-05-21 09:16:18 -04:00
Makefile test: dm: Move the time test over to the ut command 2015-05-21 09:16:17 -04:00
time_ut.c test: dm: Move the time test over to the ut command 2015-05-21 09:16:17 -04:00
ut.c test: Generalize the unit test framework 2015-05-21 09:16:16 -04:00