summaryrefslogtreecommitdiff
diff options
authorJeff Lane <jeffrey.lane@canonical.com>2015-07-08 08:31:42 +0000
committerDaniel Manrique <>2015-07-08 08:31:42 +0000
commitfc608fc1769b3ee4b54d8ed9f9683770c8a7f7ea (patch)
tree0eac02eb540565d94f0a9e1afbf6bc339f4f17f6
parent5cd4339882c1f442611d5002246e982110831051 (diff)
parent57451ae64e7f28746b22dd84c55504b5395a721b (diff)
"automatic merge of lp:~bladernr/checkbox/1472406/ by tarmac [r=zyga][bug=1472406][author=bladernr]"
-rwxr-xr-xbin/ipmi_test9
1 files changed, 3 insertions, 6 deletions
diff --git a/bin/ipmi_test b/bin/ipmi_test
index 403f572..32d5773 100755
--- a/bin/ipmi_test
+++ b/bin/ipmi_test
@@ -8,12 +8,9 @@ for module in ipmi_si ipmi_devintf ipmi_msghandler; do
echo "Loading $module..."
modprobe $module
result=$?
- # if ipmi_si fails to load, it's safe to assume the system
- # has no BMC, so we'll just politely exit.
- if [ $result -eq 1 ] && [ "$module" = "ipmi_si" ]; then
- echo "WARNING: No BMC found. Aborting."
- exit 0
- elif [ $result -eq 1 ]; then
+ # If the IPMI drivers don't load, it could be the system has no BMC, or
+ # the IPMI driver is bad. We should error and Fail here.
+ if [ $result -eq 1 ]; then
echo "ERROR: Unable to load module $module" >&2
echo "Aborting IPMI test run." >&2
exit 1