222 SPARCstation 20 Service Manual • July 1996
To execute the self-test program for a device, type the test command followed by
the device alias or device pathname. If a device has no self-test program, the following
is displayed: No selftest method for device name.
CODE EXAMPLE E-1 identifies
the test output message.
test-all
The test-all command tests all devices in the system that have a self-test
program. Disks, tapes, and CDROMs are not tested by test-all. Tests are executed
in the device tree (the device tree may be viewed with the show-devs command).
To execute the test-all program, type the test-all command.
CODE EXAMPLE E-1 test Command Output Message
ok test floppy
Testing floppy disk system. A formatted disk should be in the
drive.
Test succeeded.
CODE EXAMPLE E-2 test-all Command Output Message
ok test-all