altos: Clean up fat driver API. Improve fat test
authorKeith Packard <keithp@keithp.com>
Thu, 28 Mar 2013 23:05:24 +0000 (16:05 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 28 Mar 2013 23:05:24 +0000 (16:05 -0700)
commitc7b606e93a4e4fbd2c0e883352ed74619ee24cf7
tree5c01843cc96e69870373bd8b7a195d7748cf4f94
parentd1fe0654b45cc8f944394308cf29945b537becc4
altos: Clean up fat driver API. Improve fat test

Make FAT api provide reasonable error return values, change the tests
to write and then read a pile of files, checking that the contents are
correct (using md5sum).

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_fat.c
src/drivers/ao_fat.h
src/test/Makefile
src/test/ao_fat_test.c