Partager via


IOCTL_HAL_GET_WAKE_SOURCE Test (Compact 7)

3/12/2014

The IOCTL_HAL_GET_WAKE_SOURCE Test verifies the correct implementation of IOCTL_HAL_GET_WAKE_SOURCE.

Test Prerequisites

Your device must meet the following requirements before you run this test.

As with the other OEM adaptation layer (OAL) IOCTL tests, the IOCTL_HAL_GET_WAKE_SOURCE Test requires no additional hardware.

  • The run-time image must implement IOCTL_HAL_GET_WAKE_SOURCE.

The following table shows the software requirements for the test:

Requirements Description

Tux.exe

Tux test harness, required to execute the test

ktux.dll

Required to run kernel-mode tux tests

kato.dll

Kato logging engine, required for logging test data

oaltestioctls.dll

Library that contains OAL IOCTL Test files

Subtests

The following table lists the subtests included in this test.

SubTest ID Description

5500

Test that IOCTL_HAL_GET_WAKE_SOURCE returns a valid wake source.

5501

Tests the ignoring of input buffers for IOCTL_HAL_GET_WAKE_SOURCE.

5502

Test IOCTL_HAL_GET_WAKE_SOURCE buffers fail at appropriate times.

Setting Up the Test

This test has no additional requirements beyond the standard test environment setup.

Running the Test

The default command line for this test is as follows:

tux.exe -o -n -d oalTestIoctls.dll -x  5500-5502

Verifying the Test

When the test finishes running, verify that 'PASS' appears in the test log for all subtests.

Troubleshooting the Test

  • Verify the implementation of the IOCTL_HAL_GET_WAKE_SOURCE.
  • Determine the point of failure and record the exact error message. If the source code is available, examine the point of failure in the code to see whether you can collect any additional information about the failure domain.

For additional platform specific issues, consult the CTK articles on the TechNet wiki.

See Also

Other Resources

OAL - IOCTL Tests