Share via


File System API Test Module (Windows Embedded CE 6.0)

1/6/2010

The file system API test module, S2_file.dll, exercises the file system API on the RAM-based object store file system, on the ROM-based read-only file system, and on any storage device with mounted file allocation table (FAT) file system partitions such as Compact Flash cards, IDE hard disks, USB storage devices, and so on.

When the test module starts, the test module generates a list of directories that includes any mounted FAT file system partitions and the default object store and ROM file systems. The test module uses the Windows directory as the root for testing the object store and ROM files. For each iteration, the S2_file.dll test module randomly selects a starting directory from the list and performs one of the following operations:

  • Enumerates and reads all files and directories using a depth-first search
  • Enumerates and reads all files and directories using a breadth-first search
  • Creates and destroys a random directory and file structure in the root directory

The file system API test module can run as many as three simultaneous threads.

This test module does not require a server and does not accept any command line options.

Prior to starting the test module, mount FAT file system partitions that are to be tested. Partitions mounted after the test module initializes are not tested. If there are no mounted FAT partitions, only the object store and ROM file system are tested.

See Also

Other Resources

Test Modules for the Windows Embedded CE Stress Tool