blob: de1fdfc03d6b04569b897a1aa7637125694f676e [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
Chris Austenb29d2e82016-06-07 12:25:35 -05008
George Keishing4d6c1da2016-07-15 05:51:22 -05009Suite Setup Open Connection And Log In
10Suite Teardown Close All Connections
Chris Austenb29d2e82016-06-07 12:25:35 -050011
12*** Test Cases ***
13Test openbmc buster
Chris Austenb29d2e82016-06-07 12:25:35 -050014 ${output}= Execute Command find /var/lib -type f |xargs -n 1 touch
15 PDU Power Cycle
16 Wait For Host To Ping ${OPENBMC_HOST}
17 Sleep 1min
George Keishing4d6c1da2016-07-15 05:51:22 -050018
19 # Need to re connect the session
Chris Austenb29d2e82016-06-07 12:25:35 -050020 Open Connection And Log In
21 ${stdout} ${stderr} ${rc}= Execute Command echo "hello world" return_stderr=True return_rc=True
22 Should Be Equal As Integers ${rc} ${0}
23
24*** Keywords ***