blob: e740b3aa0288801a75b26ace055d72df6b455332 [file] [log] [blame]
Rahul Maheshwari712baaf2019-07-29 23:52:36 -05001*** Settings ***
2
3Documentation Module to test IPMI SEL functionality.
4Resource ../lib/ipmi_client.robot
5Resource ../lib/openbmc_ffdc.robot
6
7Test Teardown FFDC On Test Case Fail
8
9*** Test Cases ***
10
11Verify IPMI SEL Version
12 [Documentation] Verify IPMI SEL's version info.
13 [Tags] Verify_IPMI_SEL_Version
14 ${version_info}= Get IPMI SEL Setting Version
15 ${setting_status}= Fetch From Left ${version_info} (
16 ${setting_status}= Evaluate $setting_status.replace(' ','')
17
18 Should Be True ${setting_status} >= 1.5
19 Should Contain ${version_info} v2 compliant case_insensitive=True
20
21
22Verify Empty SEL
23 [Documentation] Verify empty SEL list.
24 [Tags] Verify_Empty_SEL
25 Run IPMI Standard Command sel clear
26
27 ${resp}= Run IPMI Standard Command sel list
28 Should Contain ${resp} SEL has no entries case_insensitive=True
29