Share via


IOCTL_HAL_GET_RANDOM_SEED Test (Compact 2013)

3/26/2014

The IOCTL_HAL_GET_RANDOM_SEED Test verifies the correct implementation of IOCTL_HAL_GET_RANDOM_SEED.

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_RANDOM_SEED test requires no additional hardware.

  • The run-time image must implement IOCTL_HAL_GET_RANDOM_SEED.

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

5300

Test handling incorrect inbound parameters

5301

Test handling incorrect outbound parameters

5302

Verify that the IOCTL is supported and returns different random seeds on every call

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  5300-5302

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_RANDOM_SEED.
  • Determine the point of failure and record the exact error message. If the source code is available, examine the point of failure in code to see whether you can collect any additional information about the failure domain.

See Also

Other Resources

OAL - IOCTL Tests