2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-19 04:40:21 +00:00

Fix UT cases based on changes to support --delete

This commit is contained in:
Victor Hu
2017-12-15 16:55:16 -05:00
parent 4d2e51a61e
commit 0584a21272

View File

@ -14,14 +14,14 @@ os:Linux
hcp:openbmc
cmd: rflash $$CN -a /tmp/abc123.tz
check:rc==1
check:output=~Error: Invalid option
check:output=~Error: Invalid firmware specified with -a
end
start:rflash_invalid_activate_and_delete
description: Cannot specify -a and -d at the same time
description: Cannot specify -a and --delete at the same time
os:Linux
hcp:openbmc
cmd: rflash $$CN -a 123 -d 123
cmd: rflash $$CN -a 123 --delete 123
check:rc==1
check:output=~Error: Multiple options are not supported
end
@ -66,7 +66,7 @@ start:rflash_invalid_delete_2
description: Attempt to delete more than 1 ID from the FW
os:Linux
hcp:openbmc
cmd: rflash $$CN -d 221d9020 221d9020
cmd: rflash $$CN --delete 221d9020 221d9020
check:rc==1
check:output=~Error: More than one firmware specified is not supported
end