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 | |
George Keishing | 4d6c1da | 2016-07-15 05:51:22 -0500 | [diff] [blame^] | 5 | Resource ../lib/pdu/pdu.robot |
| 6 | Resource ../lib/utils.robot |
| 7 | Resource ../lib/connection_client.robot |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 8 | |
George Keishing | 4d6c1da | 2016-07-15 05:51:22 -0500 | [diff] [blame^] | 9 | Suite Setup Open Connection And Log In |
| 10 | Suite Teardown Close All Connections |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 11 | |
| 12 | *** Test Cases *** |
| 13 | Test openbmc buster |
| 14 | [Tags] reboot_tests |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 15 | ${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 Keishing | 4d6c1da | 2016-07-15 05:51:22 -0500 | [diff] [blame^] | 19 | |
| 20 | # Need to re connect the session |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 21 | 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 *** |