Validate BMC system and file name before code update.
Resolves openbmc/openbmc-test-automation#466
Change-Id: I4cfd325c184c7de23b5bf4ca89387e699257c29b
Signed-off-by: Sivas SRR <sivas.srr@in.ibm.com>
diff --git a/extended/code_update/update_bmc.robot b/extended/code_update/update_bmc.robot
index bb4a43c..9ba485b 100644
--- a/extended/code_update/update_bmc.robot
+++ b/extended/code_update/update_bmc.robot
@@ -28,6 +28,9 @@
Resource ../../lib/utils.robot
Resource ../../lib/openbmc_ffdc.robot
+Library String
+Suite Setup Validate BMC Image File Name ${FILE_PATH}
+
Test Teardown FFDC On Test Case Fail
*** Variables ***