blob: d05ec6e5ab00edb2bba1726fea2731cdf83490ae [file] [log] [blame]
Fathi Boudra422bf772019-12-02 11:10:16 +02001#
2# Copyright (c) 2019, Arm Limited. All rights reserved.
3#
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)]} {
13 puts "Fault message not set"
14 exit_uart -1
15}
16
17expect_string "$env(tftf_fault_msg)"
18exit_uart 0