Product User Guide

30
4.2.7 Test Return Codes
All of the above tests return an error code if they fail and a zero (0) code when they succeed:
0 (zero) is returned if ALL of the specified tests executed successfully.
-1 (minus one) is returned when an error occurs (except for the test command
itself). Be careful: in some operating systems this is converted to 127 or another
value. Be sure to check carefully!
Other values are returned when a specific test produces an error. See table below.
Note: If the test all command fails, then the returned error code is that of the first failed test.
Testing will continue even if errors are encountered in previous tests.
Table 3: Test Return Codes
Test Return Code
device 1
video status 2
video crc 3
ddc info 4
ipmb ddc 5
fml esb2 6
usb status 7
nic status 8
nic loopback 9
nic ping 10
nic broadcast 11
fml evalboard 12
ipmb evalboard 13