次の方法で共有


Reboot IOCTL (IOCTL_HAL_REBOOT) Test (Semi-automated) (Compact 2013)

3/26/2014

The Reboot IOCTL (IOCTL_HAL_REBOOT) Test (Semi-automated) verifies the behavior of the system reboot IOCTL, causing the system to restart.

Test Prerequisites

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

The test can be run on any image configuration where the IOCTL_HAL_REBOOT IOCTL is implemented.

Subtests

The table below lists the subtests included in this test.

SubTest ID

Description

1000

Prints a test usage message.

1001

Reboot test. The test pauses for 10 seconds, and then calls IOCTL_HAL_REBOOT via KernelIoControl to reboot the device.

Setting Up the Test

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

Running the Test

The default test command line is:

tux.exe -o -n -d oalTestIoctlReboot.dll

Note that this test runs in kernel mode through the -n tux option. No other command-line parameters are accepted.

Verifying the Test

  • The test should cause the system to restart.
  • The test executer should verify that the system does indeed reboot and mark the test as successful if it behaves as expected. It is expected that the device will become disconnected from Platform Builder.

Troubleshooting the Test

  • Verify that the IOCTL_HAL_REBOOT IOCTL is implemented in the OAL.

See Also

Other Resources

OAL - IOCTL Tests