Miscellaneous Tests
Command-line parameter: /m [ /s ] [/e]
The Miscellaneous Tests are optional tests that determine whether the driver can handle a variety of common calls from kernel mode drivers.
The Miscellaneous Tests are divided into two parts, Part 1 and Part 2, but one parameter (/m) adds both parts to a Device Path Exerciser test session. You cannot add one part without the other.
Device Path Exerciser performs the Miscellaneous Tests on devices opened by the Basic Open Operations and other open operations, including the Relative Open Test, if selected.
Miscellaneous Tests (Part 1) includes the following tests:
- Calls to ZwReadFile and ZwWriteFile, specifying valid data buffer pointers, varying lengths (including zero), and varying byte offsets, including zero, -1 and 64-bit bytes offsets.
- Calls to cancel I/0 and flush buffers.
- A series of directory query calls using common file information classes with valid user data buffer pointers and varying buffer lengths (including zero).
- Directory query calls similar to those issued by programs running under control of the Virtual DOS Machine (VDM).
- Calls to retrieve the extended attributes of a file with varying buffer sizes and lengths.
- Calls to create and close section objects, with varying section page protection and sectional allocation attributes (committed section, image file section).
- Calls to lock and unlock files.
- Calls to retrieve quota entries for a volume.
Miscellaneous Tests (Part 2) includes the following test:
- File Attributes Test, a series of file attribute queries with valid pointers to an ObjectAttributes structure.
The File Attributes Test has an optional zero-length test. While retrieving the extended attributes of a file, Device Path Exerciser passes a blank (zero-length) query and an invalid buffer address to the driver. To add this option, use the /e parameter.