commit | 3d868ca129f23a82f272a0a3c982dbbe86dea60f | [log] [tgz] |
---|---|---|
author | Chris Kay <chris.kay@arm.com> | Tue Nov 15 12:30:08 2022 +0000 |
committer | Chris Kay <chris.kay@arm.com> | Tue Nov 22 11:44:25 2022 +0000 |
tree | 1189d091f2773357c4161e3a189574cadc46ea81 | |
parent | acc197233feccd38c6f603ecac45185c8b3e99f8 [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