blob: 0288f03034a5f7813e308a3160bedcb1bbe7d0aa [file] [log] [blame]
Fathi Boudra422bf772019-12-02 11:10:16 +02001#
Leonardo Sandoval579c7372020-10-23 15:23:32 -05002# Copyright (c) 2019-2020 Arm Limited. All rights reserved.
Fathi Boudra422bf772019-12-02 11:10:16 +02003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
Fathi Boudra422bf772019-12-02 11:10:16 +02006# Expect script
7#
8
9source [file join [file dirname [info script]] handle-arguments.inc]
10
11# Expect the test to have set a fault message
12if {![info exists ::env(tftf_fault_msg)]} {
Chris Kay78ea2c32022-11-15 12:24:24 +000013 message "Fault message not set"
Fathi Boudra422bf772019-12-02 11:10:16 +020014 exit_uart -1
15}
16
17expect_string "$env(tftf_fault_msg)"
18exit_uart 0