blob: 532c29f0d72f52fd90e545db5755286c67be3ac4 [file] [log] [blame]
George Keishing6c2ac912017-05-12 06:36:21 -05001*** Settings ***
2Documentation Module to test OS reboot functionality.
3
4Resource ../lib/boot_utils.robot
5
6Test 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
15Host 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 ***