commit | 41820ec9949d1d50ea111904b016ab341bbb1531 | [log] [tgz] |
---|---|---|
author | Chris Kay <chris.kay@arm.com> | Tue Nov 15 12:30:08 2022 +0000 |
committer | Varun Wadekar <vwadekar@nvidia.com> | Tue Feb 07 15:58:58 2023 +0000 |
tree | ad5b87614f37515ab64891a279b3b356bbba2b3b | |
parent | 31ad91feee7dd532952baca6cc5b4012afa1105e [diff] |
refactor(expect): also capture EOF when using expectation helpers In the OpenCI there's no possibility of a timeout when running Expect scripts, but there can be an EOF. This change modifies the `expect_string` and `expect_re` functions to report that a match was not found when an early EOF is detected. Signed-off-by: Chris Kay <chris.kay@arm.com> Change-Id: I12fbfc86456d20e058f46b388f389d057b9d734c (cherry picked from commit 3d868ca129f23a82f272a0a3c982dbbe86dea60f)