diff options
author | Jacob Bachmeyer <jcb62281@gmail.com> | 2019-01-10 17:53:06 +1100 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2019-01-10 17:53:06 +1100 |
commit | bf6c9fa6841740f11704ff244331a06f4f5857b8 (patch) | |
tree | e99b998126417481f6546c6cd94d83092e015d91 | |
parent | dc67c894db920e8f145de970ac2e61396d8db9db (diff) | |
download | dejagnu-bf6c9fa6841740f11704ff244331a06f4f5857b8.zip dejagnu-bf6c9fa6841740f11704ff244331a06f4f5857b8.tar.gz dejagnu-bf6c9fa6841740f11704ff244331a06f4f5857b8.tar.bz2 |
* testsuite/runtest.libs/libs.exp (process_test): Handle blank
lines from child process correctly.
Signed-off-by: Ben Elliston <bje@gnu.org>
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | testsuite/runtest.libs/libs.exp | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2019-01-10 Jacob Bachmeyer <jcb62281@gmail.com> + + * testsuite/runtest.libs/libs.exp (process_test): Handle blank + lines from child process correctly. + 2019-01-02 Jacob Bachmeyer <jcb62281@gmail.com> * NEWS: Document report card. diff --git a/testsuite/runtest.libs/libs.exp b/testsuite/runtest.libs/libs.exp index 80b46ab..8521ead 100644 --- a/testsuite/runtest.libs/libs.exp +++ b/testsuite/runtest.libs/libs.exp @@ -44,6 +44,7 @@ proc process_test { test } { "no such file or directory" { perror "$test wouldn't run" 0 } + -re {^[\r\n]+} { exp_continue } -re "^\[^\r\n\]*NOTSUPPORTED: $text\[\r\n\]*" { unsupported "[lrange $expect_out(0,string) 1 end]" exp_continue |