1*** Settings ***
2
3Documentation   This testsuite is for testing file corruption on hard power cycle
4
5Resource          ../lib/pdu/pdu.robot
6Resource          ../lib/utils.robot
7Resource          ../lib/connection_client.robot
8Resource          ../lib/openbmc_ffdc.robot
9
10Suite Setup       Open Connection And Log In
11Suite Teardown    Close All Connections
12Test Teardown     FFDC On Test Case Fail
13
14*** Test Cases ***
15Test openbmc buster
16    ${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
20
21    # Need to re connect the session
22    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 ***
27