PLDM: Automate below test scenarios for pldmtool oem specific commands
Verify GetPLDMTypes For OEM
Verify GetPLDMVersion For OEM
Verify GetPLDMCommands For OEM
Verify GetAlertStatus
Change-Id: I4802d8f94366e9e48644d7cbaf02daf0f9d35b93
Signed-off-by: Sridevi Ramesh <sridevra@in.ibm.com>
diff --git a/pldm/test_pldm_oem.robot b/pldm/test_pldm_oem.robot
new file mode 100644
index 0000000..005ed3d
--- /dev/null
+++ b/pldm/test_pldm_oem.robot
@@ -0,0 +1,23 @@
+*** Settings ***
+
+Documentation Module to test PLDM oem commands.
+
+Library ../lib/pldm_utils.py
+Variables ../data/pldm_variables.py
+Resource ../lib/openbmc_ffdc.robot
+
+Test Setup Printn
+Test Teardown FFDC On Test Case Fail
+
+
+*** Test Cases ***
+
+Verify GetAlertStatus
+ [Documentation] Verify get alert status descriptor response message.
+ [Tags] Verify_GetAlertStatus
+
+ ${pldm_output}= Pldmtool oem-ibm GetAlertStatus -i 0
+ Rprint Vars pldm_output
+ Valid Value pldm_output['rack_entry'] ['0xff000030']
+ Valid Value pldm_output['pri_cec_node'] ['0x00008030']
+