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

Add new testcase to test deleting an active BMC image

This commit is contained in:
Victor Hu 2018-03-13 11:35:52 -04:00
parent b6241689b9
commit ba2c179904

View File

@ -70,3 +70,14 @@ cmd: rflash $$CN --delete 221d9020 221d9020
check:rc==1
check:output=~Error: More than one firmware specified is not supported
end
start:rflash_delete_active_bmc
description: Attempt to delete the active BMC firmware
os:Linux
hcp:openbmc
cmd: rflash $$CN -l | grep \* | grep BMC | awk '{print $2}' | xargs -i{} rflash $$CN --delete {}
check:rc==1
check:output=~
./xCAT-test/autotest/testcase/UT_openbmc/rflash_cases0