1*** Variables *** 2${SCRIPT} ${CURDIR}/../../scripts/single-node/versatile.resc 3${UART} sysbus.uart0 4${PROMPT} \#${SPACE} 5 6*** Keywords *** 7Prepare Machine 8 [Arguments] ${name}=Versatile 9 10 Execute Command $name="${name}" 11 Execute Script ${SCRIPT} 12 13*** Test Cases *** 14Should Boot Linux 15 [Documentation] Boots Linux on the Versatile platform. 16 [Tags] linux uart 17 18 Prepare Machine 19 Create Terminal Tester ${UART} 20 21 Start Emulation 22 23 Wait For Line On Uart Booting Linux on physical CPU 0x0 24 Wait For Line On Uart Welcome to the Renode Versatile demo! 25 Wait For Prompt On Uart master login: 26 27 Write Line To Uart root 28 Wait For Prompt On Uart ${PROMPT} 29 30 Provides booted-linux 31 32Should Ls 33 [Documentation] Tests shell responsiveness in Linux on the Versatile platform. 34 [Tags] linux uart 35 Requires booted-linux 36 37 # wait for the psmouse line to avoid serial output cluttering 38 Wait For Line On Uart psmouse serio1: Failed to enable mouse on fpga:07 39 Write Line To Uart ls / 40 Wait For Line On Uart proc 41 42