blob: a115625339a84b85c793e477dbef893496f97921 [file] [log] [blame]
Steven Sombar96ed1422017-12-01 14:48:27 -06001*** Settings ***
2Documentation Test the default value of power management enablement.
3
4Resource ../lib/openbmc_ffdc.robot
5
6Test Teardown Test Teardown Execution
7
8
9*** Test Cases ***
10
11Verify Powercap Disabled By Default
12 [Documentation] Powercap is disabled by default.
13 [Tags] Verify_Powercap_Disabled_By_Default
14
15 # Example:
16 # /xyz/openbmc_project/control/host0/power_cap:
17 # {
18 # "PowerCap": 0,
19 # "PowerCapEnable": 0
20 # },
21
22 ${powercap}= Read Attribute ${CONTROL_HOST_URI}power_cap PowerCapEnable
23 Should Be True ${powercap} == ${0}
24 ... msg=Default PowerCapEnable should be off.
25
26
27*** Keywords ***
28
29
30Test Teardown Execution
31 [Documentation] Do the post test teardown.
32
33 FFDC On Test Case Fail