Update delete error logs to use "Delete All Error Logs"
We are planning to delete 'Delete Error Logs' and replace with
the "Delete All Error Logs" as its the correct way to purge
existing error logs on the system.
Change-Id: I7d186c46e169ee5a8ba17a3d6c69be0949e845e6
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/extended/code_update/host_code_update.robot b/extended/code_update/host_code_update.robot
index bcc9105..a7d7ea5 100644
--- a/extended/code_update/host_code_update.robot
+++ b/extended/code_update/host_code_update.robot
@@ -65,7 +65,7 @@
Run Keyword If '${PREV_TEST_STATUS}' == 'FAIL'
... Fail Code update failed. No need to boot to OS.
- Delete Error Logs
+ Delete All Error Logs
REST Power On
Verify Running Host Image ${IMAGE_FILE_PATH}
@@ -173,7 +173,7 @@
Upload And Activate Image ${IMAGE_FILE_PATH}
REST Power On
- Delete Error Logs
+ Delete All Error Logs
${version_id}= Upload And Activate Image ${ALTERNATE_IMAGE_FILE_PATH}
... wait=${0}
@@ -229,7 +229,7 @@
Run Keyword And Ignore Error Smart Power Off
Run Key Delete All Dumps ignore=1
- Run Key Delete Error Logs ignore=1
+ Run Key Delete All Error Logs ignore=1
Run Keyword If 'true' == '${DELETE_OLD_PNOR_IMAGES}'
... Delete All PNOR Images
Run Keyword If 'true' == '${DELETE_OLD_GUARD_FILE}' BMC Execute Command