1*** 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
26    Ecmd  getscom pu 20028440 -all
27
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}
37