2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

Merge pull request #3400 from junxiawang/0705

modify rpower testcase using unsurpported command for openpowerbmc
This commit is contained in:
xuweibj 2017-07-06 16:01:03 +08:00 committed by GitHub
commit 60cbe44134

View File

@ -152,3 +152,32 @@ cmd:rpower $$CN onstandby
cmd:a=0;while ! `rpower $$CN stat|grep "standby\|Standby" >/dev/null`; do sleep 5;((a++));if [ $a -gt 11 ];then break;fi done
check:ouptut=~standby|Standby
end
start:rpower_suspend_OpenpowerBmc
description:rpower openpowerbmc using suspend
Attribute: $$CN-The operation object of rpower command
cmd:rpower $$CN suspend
check:output=~Error: unsupported command rpower suspend for OpenPOWER
check:rc==1
end
start:rpower_softoff_OpenpowerBmc
description:rpower openpowerbmc using softoff
Attribute: $$CN-The operation object of rpower command
cmd:rpower $$CN softoff
check:output=~Error: unsupported command rpower softoff for OpenPOWER
check:rc==1
end
start:rpower_wake_OpenpowerBmc
description:rpower openpowerbmc using wake
Attribute: $$CN-The operation object of rpower command
cmd:rpower $$CN wake
check:output=~Error: unsupported command rpower wake for OpenPOWER
check:rc==1
end
start:rpower_errorcommand_OpenpowerBmc
description:rpower openpowerbmc using errorcommand
Attribute: $$CN-The operation object of rpower command
cmd:rpower $$CN ddd
check:output=~Unsupported command:
check:rc==1
end