Patent ID: 8443238

Claim:
A computing device, comprising: a storage system; at least one processor; a plurality of hard disk ports that are located on a motherboard of the computing device, each of the hard disk ports electronically connecting to a respective serial port of a test fixture, the test fixture comprising a group of serial ports, a multiplexer, a storage device, and one or more indicators; and one or more programs stored in the storage system and executable by the at least one processor, the one or more programs comprising: a switch module operable to select a hard disk port from the hard disk ports as a hard disk port under test, and send a port selection message to the multiplexer to form a data transmission path by building a connection between the storage device and a channel of the multiplexer corresponding to the hard disk port under test; a writing module operable to write data to the storage device through the data transmission path; a reading module operable to read data from the storage device through the data transmission path; a comparison module operable to compare the written data with the read data; a sending module operable to send a failure message to the multiplexer to activate the one or more indicators to indicate that the hard disk port under test is not working normally upon a condition that the written data are not identical to the read data; and an erasing module operable to erase the written data from the storage device upon a condition that the written data are identical to the read data.