blob: 9cb72516197c65c0e02fef3602189552fc5a4952 [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
14 [Tags] reboot_tests
Chris Austenb29d2e82016-06-07 12:25:35 -050015 ${output}= Execute Command find /var/lib -type f |xargs -n 1 touch
16 PDU Power Cycle
17 Wait For Host To Ping ${OPENBMC_HOST}
18 Sleep 1min
George Keishing4d6c1da2016-07-15 05:51:22 -050019
20 # Need to re connect the session
Chris Austenb29d2e82016-06-07 12:25:35 -050021 Open Connection And Log In
22 ${stdout} ${stderr} ${rc}= Execute Command echo "hello world" return_stderr=True return_rc=True
23 Should Be Equal As Integers ${rc} ${0}
24
25*** Keywords ***