1*** Settings ***
2Documentation    Test RAS sanity scenarios.
3
4Resource        ../../lib/openbmc_ffdc.robot
5Resource        ../../lib/openbmc_ffdc_utils.robot
6Resource        ../../lib/openbmc_ffdc_methods.robot
7Resource        ../../lib/ras/host_utils.robot
8Resource        ../../openpower/ras/ras_utils.robot
9Library         ../../lib/utils.py
10Variables       ../../lib/ras/variables.py
11Variables       ../../data/variables.py
12
13Suite Setup      Redfish Power On
14Test Setup       Printn
15Test Teardown    FFDC On Test Case Fail
16
17
18*** Variables ***
19${proc_chip_id}    0
20
21# mention count to read system memory.
22${count}           128
23
24*** Test Cases ***
25
26Test BMC Getscom
27    ${value}=  Get From Dictionary  ${ERROR_INJECT_DICT}  MCACALIFIR_RECV1
28    Pdbg  -p${proc_chip_id} getscom 0x${value[0]}
29
30Test BMC Getcfam
31    Pdbg  -p${proc_chip_id} getcfam 0x${cfam_address}
32
33Test BMC Getmem
34    Pdbg  -p${proc_chip_id} getmem 0x${mem_address} ${count}
35