aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Bachmeyer <jcb62281@gmail.com>2019-01-10 17:53:06 +1100
committerBen Elliston <bje@gnu.org>2019-01-10 17:53:06 +1100
commitbf6c9fa6841740f11704ff244331a06f4f5857b8 (patch)
treee99b998126417481f6546c6cd94d83092e015d91
parentdc67c894db920e8f145de970ac2e61396d8db9db (diff)
* 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--ChangeLog5
-rw-r--r--testsuite/runtest.libs/libs.exp1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 68c1cce..3ae03e0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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