Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | |
| 3 | Documentation This testsuite is for testing file corruption on hard power cycle |
| 4 | |
| 5 | Resource ../lib/pdu/pdu.robot |
| 6 | Resource ../lib/utils.robot |
| 7 | |
| 8 | Library SSHLibrary |
| 9 | |
| 10 | *** Test Cases *** |
| 11 | Test 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 *** |
| 23 | Open Connection And Log In |
| 24 | Open connection ${OPENBMC_HOST} |
| 25 | Login ${OPENBMC_USERNAME} ${OPENBMC_PASSWORD} |