George Keishing | 6c2ac91 | 2017-05-12 06:36:21 -0500 | [diff] [blame] | 1 | *** Settings *** |
| 2 | Documentation Module to test OS reboot functionality. |
| 3 | |
| 4 | Resource ../lib/boot_utils.robot |
| 5 | |
| 6 | Test Teardown FFDC On Test Case Fail |
| 7 | |
| 8 | *** Variables *** |
| 9 | |
| 10 | # User defined boot test iteration. |
| 11 | ${BOOT_LOOP_COUNT} ${50} |
| 12 | |
| 13 | *** Test Cases *** |
| 14 | |
| 15 | Host Reboot Loop |
| 16 | [Documentation] Boot OS and trigger reboot and expect |
| 17 | ... OS to boot back. |
| 18 | # 1. Boot OS |
| 19 | # 2. Verify OS is booted |
| 20 | # 3. Issue "reboot" from OS |
| 21 | # 4. Verify if OS is booted back |
| 22 | |
| 23 | # By default run test for 50 loops, else user input iteration. |
| 24 | # Fails immediately if any of the execution rounds fail. |
| 25 | |
| 26 | # Note: Host Reboot is implemented by the OBMC Boot Test tool. |
| 27 | # OBMC Boot Test will take the necessary steps to get the OBMC |
| 28 | # to a host powered on state before attempting the Host Reboot. |
| 29 | Repeat Keyword ${BOOT_LOOP_COUNT} times Host Reboot |
| 30 | |
| 31 | *** Keywords *** |