From 0584a21272f479f43c6a0317a425b289cd3be1bb Mon Sep 17 00:00:00 2001 From: Victor Hu Date: Fri, 15 Dec 2017 16:55:16 -0500 Subject: [PATCH] Fix UT cases based on changes to support --delete --- xCAT-test/autotest/testcase/UT_openbmc/rflash_cases0 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xCAT-test/autotest/testcase/UT_openbmc/rflash_cases0 b/xCAT-test/autotest/testcase/UT_openbmc/rflash_cases0 index 760e651e5..83f596e8c 100644 --- a/xCAT-test/autotest/testcase/UT_openbmc/rflash_cases0 +++ b/xCAT-test/autotest/testcase/UT_openbmc/rflash_cases0 @@ -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