blob: a9e6c903d8f192fede73d4d6c5da93b9f6ec015e [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# If we exit from a secondary uart, and if that had lots of prints, then the
7# model will stall. See: https://jira.arm.com/browse/SDDKW-43675. So, we wait
8# here expect for something that never arrives.
9
10set timeout -1
11puts "<<holding terminal>>"
12expect {
13 "FOOBAR" {
14 exit_uart -1
15 }
16}