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