blob: 68fcd7d28581f604e946567e6c5bf8727ef4bc72 [file] [log] [blame]
Sridevi Ramesheb5a1622020-03-19 05:50:46 -05001*** Settings ***
2Documentation Test RAS sanity scenarios using ecmd commands.
3
4Resource ../../lib/openbmc_ffdc.robot
5Resource ../../lib/openbmc_ffdc_utils.robot
6Resource ../../lib/openbmc_ffdc_methods.robot
7Resource ../../lib/ras/host_utils.robot
8Library ../../lib/utils.py
9Variables ../../lib/ras/variables.py
10
11Suite Setup Redfish Power On
12Test Setup Printn
13Test Teardown FFDC On Test Case Fail
14
15
16*** Variables ***
17
18# mention count to read system memory.
19${count} 128
20
21*** Test Cases ***
22
23Test Ecmd Getscom
24 [Documentation] Do getscom operation through BMC.
25 [Tags] Test_Ecmd_Getscom
Sridevi Ramesh3af11102020-06-24 07:56:10 -050026 Ecmd getscom pu 20028440 -all
Sridevi Ramesheb5a1622020-03-19 05:50:46 -050027
28Test Ecmd Getcfam
29 [Documentation] Do getcfam operation through BMC.
30 [Tags] Test_Ecmd_Getcfam
31 Ecmd getcfam pu ${cfam_address} -all
32
33Test Ecmd Getmemproc
34 [Documentation] Do getmemproc operation through BMC.
35 [Tags] Test_Ecmd_Getmemproc
36 Ecmd getmemproc ${mem_address} ${count}