blob: b8505f0d5a22510bb6d7aa29302dd994bff985c1 [file] [log] [blame]
Chris Austenb29d2e82016-06-07 12:25:35 -05001*** Settings ***
2
3Documentation This testsuite is for testing file corruption on hard power cycle
4
George Keishing4d6c1da2016-07-15 05:51:22 -05005Resource ../lib/pdu/pdu.robot
6Resource ../lib/utils.robot
7Resource ../lib/connection_client.robot
George Keishingd55a4be2016-08-26 03:28:17 -05008Resource ../lib/openbmc_ffdc.robot
Chris Austenb29d2e82016-06-07 12:25:35 -05009
George Keishing4d6c1da2016-07-15 05:51:22 -050010Suite Setup Open Connection And Log In
11Suite Teardown Close All Connections
George Keishingd55a4be2016-08-26 03:28:17 -050012Test Teardown Log FFDC
Chris Austenb29d2e82016-06-07 12:25:35 -050013
14*** Test Cases ***
15Test openbmc buster
Chris Austenb29d2e82016-06-07 12:25:35 -050016 ${output}= Execute Command find /var/lib -type f |xargs -n 1 touch
17 PDU Power Cycle
18 Wait For Host To Ping ${OPENBMC_HOST}
19 Sleep 1min
George Keishing4d6c1da2016-07-15 05:51:22 -050020
21 # Need to re connect the session
Chris Austenb29d2e82016-06-07 12:25:35 -050022 Open Connection And Log In
23 ${stdout} ${stderr} ${rc}= Execute Command echo "hello world" return_stderr=True return_rc=True
24 Should Be Equal As Integers ${rc} ${0}
25
26*** Keywords ***