2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-03 03:50:08 +00:00

Add OS and hpc values since we need to run these cases only on openbmc mgt nodes

This commit is contained in:
Victor Hu 2017-11-10 13:52:15 -05:00
parent f0048944d9
commit a27d830e14
2 changed files with 16 additions and 4 deletions

View File

@ -1,7 +1,7 @@
start:rflash_check
description: Make sure the --check option works
os:Linux
mgt:openbmc
hcp:openbmc
cmd:rflash $$CN --check
check:rc==0
check:output=~$$CN: BMC Firmware Product
@ -11,6 +11,8 @@ end
start:rflash_invalid_activate
description: Provide an invalid option for activte, file does not end in .tar
os:Linux
hcp:openbmc
cmd: rflash $$CN -a /tmp/abc123.tz
check:rc==1
check:output=~Error: Invalid option
@ -18,6 +20,8 @@ end
start:rflash_invalid_activate_and_delete
description: Cannot specify -a and -d at the same time
os:Linux
hcp:openbmc
cmd: rflash $$CN -a 123 -d 123
check:rc==1
check:output=~Error: Multiple options specified is not supported
@ -25,6 +29,8 @@ end
start:rflash_invalid_id
description: Passing an invalid ID to activate
os:Linux
hcp:openbmc
cmd: rflash $$CN -a 123
check:rc==1
check:output=~Error: Invalid ID provided to activate
@ -32,6 +38,8 @@ end
start:rflash_invalid_multiple_id_3
description: Code does not currently support multiple IDs to activate
os:Linux
hcp:openbmc
cmd: rflash $$CN -a 123 abc asdbas
check:rc==1
check:output=~Error: More than one firmware specified is not supported
@ -39,6 +47,8 @@ end
start:rflash_invalid_multiple_id_2
description: Code does not currently support multiple IDs to activate
os:Linux
hcp:openbmc
cmd: rflash $$CN -a asdbas 123
check:rc==1
check:output=~Error: More than one firmware specified is not supported
@ -46,6 +56,8 @@ end
start:rflash_invalid_node
description: Activate a valid ID hash but forget to put in a node range
os:Linux
hcp:openbmc
cmd: rflash -a 221d9020
check:rc==1
check:output=~Error: Invalid nodes and/or groups in noderange: 221d9020

View File

@ -1,7 +1,7 @@
start:rinv_check_active_fw
description: Ensure that there is only 1 active BMC and 1 Active PNOR
os:Linux
mgt:openbmc
hcp:openbmc
cmd:rinv $$CN firm | grep -i ibm
check:rc==0
check:output=~$$CN: BMC Firmware Product
@ -13,7 +13,7 @@ end
start:rinv_check_active_fw_count
description: Ensure that there are only 2 active firmware (if previous test is OK)
os:Linux
mgt:openbmc
hcp:openbmc
# show the output
cmd:rinv $$CN firm | grep -i ibm
check:rc==0
@ -26,7 +26,7 @@ end
start:rinv_check_active_fw_verbose_count
description: Ensure that there is only 2 active firmware (in verbose mode) (Issue #4236)
os:Linux
mgt:openbmc
hcp:openbmc
# show the output
cmd:rinv $$CN firm -V | grep -i Active
check:rc==0