blob: 7e07ff6f5b0d4f7c1299608c9ed677e478396fa6 [file] [log] [blame]
Chris Kay38c68962022-11-15 11:15:07 +00001#
2# Copyright (c) 2022, Arm Limited. All rights reserved.
3#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6
7puts "<<test completed, waiting for EOF or timeout>>"
8
9expect {
10 "Exiting tests." {
11 puts "<<expected hang, found TFTF completion>>"
12 }
13
14 "PANIC in EL3." {
15 puts "<<expected hang, found crash dump>>"
16 }
17
18 "Unhandled Exception in EL3." {
19 puts "<<expected hang, found crash dump>>"
20 }
21
22 "Unhandled Exception from EL" {
23 puts "<<expected hang, found crash dump>>"
24 }
25
26 eof {
27 puts "<<stream closed as expected, exiting>>"
28 exit 0
29 }
30
31 timeout {
32 puts "<<timeout triggered as expected, exiting>>"
33 exit_uart 0
34 }
35}
36
37exit_uart -1