blob: 124e61ec66a4ac3242a6aa0ea847f6d0b29ddeb6 [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# 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}