The invention discloses an automatic method for testing an
RAID (redundant array of independent disks) IO (input / output) LED (light-emitting
diode) lamp in a memory, and relates to the technical field of
memory testing. Automated scripts written in a
PERL (practical extraction and reporting language) under linux are used, an instruction is given to IO through an IO
serial port to control on, off and flash of the
LED lamp, and LED function testing of the
RAID IO is performed. Unnecessary man-
machine interaction processes are decreased, testing operation is simple and convenient,
mass testing can be performed simultaneously, resources such as testing manpower, time and cost are saved, testing efficiency and accuracy are improved, testing
coverage ratio is quite high, any defective products can be intercepted, problems are accurately positioned, and product output quality is ensured.