There are a number of tests available for the FAT filesystem. These test various aspects of the FAT file system from basic operation to support for long file names, Unicode and code page encodings, performance, synchronization and formatting.
An important feature of these tests is that they use the format mount option to auto-format any volume that cannot be mounted. Therefore it is advisable not to run these tests on any device that contains data that should be retained.
Testing the FAT filesystem depends on the availability of a suitable device to perform the tests on. The following configuration options are defined in the target specific disk device driver to configure the tests for the available hardware:
Device name of test disk or partition. This device will be mounted on the mountpoint given in CYGDAT_DEVS_DISK_TEST_MOUNTPOINT and tests carried out in the directory given by CYGDAT_DEVS_DISK_TEST_DIRECTORY.
Mountpoint for test disk.
Subdirectory in test device where tests can create files and directories.
Device name of optional second test disk or partition. If this is not defined then the tests will carry out any operations that would have been executed on the second disk in the test directory on the main test disk.
Mountpoint for optional second test disk. If CYGDAT_DEVS_DISK_TEST_DEVICE2 is not defined then this option is not needed.
Subdirectory in optional second test device where tests can create files and directories. If CYGDAT_DEVS_DISK_TEST_DEVICE2 is not defined then this option is not needed.