2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

Modify for debug conveniently

This commit is contained in:
hu-weihua 2017-11-27 03:37:17 -05:00
parent aaacca80cd
commit fdfc79d987
2 changed files with 23 additions and 15 deletions

View File

@ -160,25 +160,23 @@ check:rc==0
end
start:rpower_suspend_OpenpowerBmc
hcp:openbmc
cmd:rpower $$CN suspend
check:output=~Error: unsupported command rpower suspend for OpenPOWER
check:output=~Error: Unsupported command: rpower suspend
check:rc==1
end
start:rpower_softoff_OpenpowerBmc
cmd:rpower $$CN softoff
check:output=~Error: unsupported command rpower softoff for OpenPOWER
check:rc==1
end
start:rpower_wake_OpenpowerBmc
hcp:openbmc
cmd:rpower $$CN wake
check:output=~Error: unsupported command rpower wake for OpenPOWER
check:output=~Error: Unsupported command: rpower wake
check:rc==1
end
start:rpower_errorcommand_OpenpowerBmc
hcp:openbmc
cmd:rpower $$CN ddd
check:output=~Unsupported command:
check:output=~Error: Unsupported command: rpower ddd
check:rc==1
end

View File

@ -142,35 +142,45 @@ end
start:rspconfig_list_ip
despcription:rspconfig list bmc ip
cmd:/opt/xcat/share/xcat/tools/autotest/testcase/rspconfig/rspconfig.sh -lip $$CN
cmd:rspconfig $$CN ip
check:rc==0
check:output=~__GETNODEATTR($$CN,bmc)__
end
start:rspconfig_list_gateway
hcp:openbmc
description:rspconfig list openbmc gateway
Attribute: $$CN-The operation object of rspconfig command
cmd:/opt/xcat/share/xcat/tools/autotest/testcase/rspconfig/rspconfig.sh -lg $$CN
cmd:rspconfig $$CN gateway
check:output=~$$CN: BMC Gateway:
check:rc==0
end
start:rspconfig_list_netmask
hcp:openbmc
description:rspconfig list openbmc netmask
Attribute: $$CN-The operation object of rspconfig command
cmd:/opt/xcat/share/xcat/tools/autotest/testcase/rspconfig/rspconfig.sh -ln $$CN
cmd:rspconfig $$CN netmask
check:rc==0
check:output=~$$CN: BMC Netmask:
end
start:rspconfig_list_vlan
description:rspconfig list openbmc netmask
description:rspconfig list openbmc vlan
Attribute: $$CN-The operation object of rspconfig command
cmd:/opt/xcat/share/xcat/tools/autotest/testcase/rspconfig/rspconfig.sh -lv $$CN
cmd: rspconfig $$CN vlan
check:rc==0
check:output=~$$CN: BMC VLAN ID:
end
start:rspconfig_list_all
description:rspconfig list openbmc netmask
description:rspconfig list openbmc ip gateway netmask vlan
Attribute: $$CN-The operation object of rspconfig command
cmd:/opt/xcat/share/xcat/tools/autotest/testcase/rspconfig/rspconfig.sh -la $$CN
cmd: rspconfig $$CN ip gateway netmask vlan
check:rc==0
check:output=~$$CN: BMC VLAN ID:
check:output=~$$CN: BMC Gateway:
check:output=~$$CN: BMC Netmask:
check:output=~__GETNODEATTR($$CN,bmc)__
end