From a74cc4263a8297120ce57e3a4a982d934f73e38c Mon Sep 17 00:00:00 2001 From: Victor Hu Date: Fri, 10 Nov 2017 14:46:43 -0500 Subject: [PATCH] add testcase to test multiple deletes of firmware --- xCAT-test/autotest/testcase/UT_openbmc/rflash_cases0 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/xCAT-test/autotest/testcase/UT_openbmc/rflash_cases0 b/xCAT-test/autotest/testcase/UT_openbmc/rflash_cases0 index 69b4f56b1..aee589f48 100644 --- a/xCAT-test/autotest/testcase/UT_openbmc/rflash_cases0 +++ b/xCAT-test/autotest/testcase/UT_openbmc/rflash_cases0 @@ -62,4 +62,11 @@ check:rc==1 check:output=~Error: Invalid nodes and/or groups in noderange: 221d9020 end - +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 +check:rc==1 +check:output=~Error: More than one firmware specified is not supported +end