Share via


Mailslot Basic

The automated test verifies basic Mailslot File System (MSFS) functionality: creating and opening mailslots, reading and writing messages of various sizes, and closing mailslots. It also verifies the integrity of the messages that are passed via mailslots.

Test details

Associated requirements

Filter.Driver.AntiVirus.MiniFilter Filter.Driver.AntiVirus.NamedPipeAndMailSlots Filter.Driver.FileSystem.MiniFilter Filter.Driver.FileSystem.NamedPipeAndMailSlots

See the filter hardware requirements.

Platforms

Windows 8 (x64) Windows 8 (x86) Windows Server 2012 (x64) Windows 8.1 x64 Windows 8.1 x86 Windows Server 2012 R2

Expected run time

~30 minutes

Categories

Certification Functional

Type

Automated

 

Running the test

Before you run the test, complete the test setup as described in the test requirements: File System Testing Prerequisites.

In addition, this test consists of a client binary (MailSlotClient.exe) and a server binary (MailSlotServer.exe). You should run these on the same computer.

To run this test, follow these steps:

  1. Copy the test binaries that are listed in the File List section locally.

  2. Start the server by running MailSlotServer.exe.

  3. Start the client on the same computer by running MailSlotClient.exe.

  4. The expected Pass count is 5. Inspect the log file for the presence of +SEV error tags. If you do not find any instances of this tag, the test has passed.

Troubleshooting

For troubleshooting information, see Troubleshooting File System Testing.

This test returns Pass or Fail. To review test details, review the test log from Windows Hardware Certification Kit (Windows HCK) Studio.

More information

Command syntax

This test does not accept any command-line parameters.

File list

File Location

Mailslotserver.exe

[WTT\TestBinRoot]\NTTEST\BASETEST\kernel\misc\MailSlotServer.exe

Mailslotclient.exe

[WTT\TestBinRoot]\NTTEST\BASETEST\kernel\misc\MailSlotClient.exe

Ntlog.dll

[WTT\OsBinRoot]\ddk_flat\DTM\tests\ntlog\ntlog.dll

Ntlogger.ini

[WTT\OsBinRoot]\ddk_flat\DTM\tests\ntlog\ntlogger.ini

 

 

 

Send comments about this topic to Microsoft