NDISTest 6.0 - [1 Machine] - 1c_FaultHandling

This automated test uses a fault injection feature of NDIS. Each loop will set bits in the registry for the driver under test. These bits will cause NDIS to fail specific NDIS calls. The registry value name is NdisDriverVerifyFlags. The loop, value, and NDIS call are listed below:

Loop Value NDIS Call

0

0x001

NdisMAllocateMapRegisters

1

0x002

NdisMRegisterInterrupt

2

0x004

NdisMAllocateSharedMemory

3

0x010

NdisMMapIoSpace

4

0x020

NdisMRegisterIoPortRange

5

0x040

Read NdisGetSetBusConfigSpace

6

0x080

Write NdisGetSetBusConfigSpace

7

0x100

NdisMInitializeScatterGatherDma

 

The driver should not load unless it does not call the particular function. This test is successful as long the driver does not crash the system. During each test loop, after the driver fails to load the registry is cleared and the driver is loaded normally to be sure it still works.

Test details

   
Specifications
  • Device.Network.LAN.Base.NDISRequirements
Platforms
  • Windows 10, client editions (x86)
  • Windows 10, client editions (x64)
  • Windows Server 2016 (x64)
Supported Releases
  • Windows 10
  • Windows 10, version 1511
  • Windows 10, version 1607
  • Windows 10, version 1703
  • Windows 10, version 1709
  • Windows 10, version 1803
  • Windows 10, version 1809
  • Windows 10, version 1903
  • Next update to Windows 10
Expected run time (in minutes) 5
Category Development
Timeout (in minutes) 300
Requires reboot false
Requires special configuration false
Type automatic

 

Additional documentation

Tests in this feature area might have additional documentation, including prerequisites, setup, and troubleshooting information, that can be found in the following topic(s):

Running the test

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

Troubleshooting

For generic troubleshooting of HLK test failures, see Troubleshooting Windows HLK Test Failures.

For troubleshooting information, see Troubleshooting LAN Testing.

More information

Command syntax

Command Description

[WTTRunWorkingDir]\ndistest\bin\ndtest.exe /auto /client /dvi /u /target:Miniport /tc:[queryTestDeviceID] /script:{1c_FaultHandling.wsf}

Runs the test.

 

Parameters

Parameter name Parameter description
queryTestDeviceID
TestScript comma separated list of test jobs to run