1*** Variables ***
2${SCRIPT}                     ${CURDIR}/../../scripts/single-node/mpc5567.resc
3${UART}                       sysbus.uart
4${PROMPT}                     QR5567>
5
6*** Keywords ***
7Prepare Machine
8    Execute Script            ${SCRIPT}
9
10    Create Terminal Tester    ${UART}
11
12*** Test Cases ***
13Should Boot Redboot
14    [Documentation]           Boots RedBoot on the MPC5567.
15    [Tags]                    uart
16    Prepare Machine
17
18    Start Emulation
19
20    Wait For Prompt On Uart   ${PROMPT}
21
22    Provides                  booted-redboot
23
24Should Print Version
25    [Documentation]           Tests shell responsiveness in RedBoot on the MPC5567 platform.
26    [Tags]                    uart
27    Requires                  booted-redboot
28
29    Write Line To Uart        version
30    Wait For Line On Uart     Non-certified release, version v3_0 - built 15:25:23, Mar 11 2010
31    Wait For Prompt On Uart   ${PROMPT}
32