Shruti | 90e4a69 | 2022-05-25 11:04:47 +0100 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (c) 2022, Arm Limited. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | |
| 7 | source [file join [file dirname [info script]] handle-arguments.inc] |
| 8 | |
| 9 | expect { |
| 10 | "buildroot login:" { |
| 11 | send "\n\nroot\n" |
| 12 | puts "<<Linux Booted>>" |
| 13 | } |
| 14 | timeout { |
| 15 | exit_uart -1 |
| 16 | } |
| 17 | } |
| 18 | |
| 19 | expect { |
| 20 | "#" { |
| 21 | send "ioctl 255\n" |
| 22 | } |
| 23 | timeout { |
| 24 | exit_uart -1 |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | expect_string "Test: Echo Message to SP" |
| 29 | expect_string "Test: Message Relay vis SP to EL3 LSP." |
| 30 | expect_string "Test: Memory Send." |
| 31 | expect_string "Test: Memory Send in Fragments." |
| 32 | expect_string "Test: Memory Lend." |
| 33 | expect_string "Test: Memory Lend in Fragments." |
| 34 | expect_string "Test: Memory Send with Multiple Endpoints." |
| 35 | expect_string "Test: Memory Lend with Multiple Endpoints." |
| 36 | expect_string "Test: Ensure Duplicate Memory Send Requests are Rejected." |
| 37 | expect_string "Test: Ensure Duplicate Memory Lend Requests are Rejected." |
| 38 | |
| 39 | expect { |
| 40 | "Total Failures: 0" { |
| 41 | puts "<<SUCCESS>>" |
| 42 | } |
| 43 | timeout { |
| 44 | exit_uart -1 |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | exit_uart 0 |
| 49 | |