blob: 927a354e7502e1031d8c529da6cfa336277d6dcb [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
5Resource ../lib/pdu/pdu.robot
6Resource ../lib/utils.robot
7
8Library SSHLibrary
9
10*** Test Cases ***
11Test openbmc buster
12 [Tags] reboot_tests
13 Open Connection And Log In
14 ${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
18 Open Connection And Log In
19 ${stdout} ${stderr} ${rc}= Execute Command echo "hello world" return_stderr=True return_rc=True
20 Should Be Equal As Integers ${rc} ${0}
21
22*** Keywords ***
23Open Connection And Log In
24 Open connection ${OPENBMC_HOST}
25 Login ${OPENBMC_USERNAME} ${OPENBMC_PASSWORD}