aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2016-02-17 04:15:36 +1100
committerRob Savoye <rob.savoye@linaro.org>2016-03-30 12:09:41 -0600
commit9e6ff9fcc3f0acc74abb9fea642d07fcd2d2d6a8 (patch)
treecc411490387ca4b9e7515fb9279cbf894e9ec222
parent4e88754bafcd0588881819835fc6e3933306241a (diff)
* lib/remote.exp (local_exec): Call exp_continue until eof islinaro-pre-1.6-merge
matched. (cherry picked from commit 566e82586139ad0135b875f164e3c727e7d08fcb)
-rw-r--r--ChangeLog7
-rw-r--r--lib/remote.exp4
2 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index db201f0..db96cf9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,9 @@
-2016-03-27 Ben Elliston <bje@gnu.org>
+2016-02-17 Ben Elliston <bje@gnu.org>
+
+ * lib/remote.exp (local_exec): Call exp_continue until eof is
+ matched.
+
+2016-02-16 Ben Elliston <bje@gnu.org>
* lib/remote.exp (standard_wait): Append any trailing characters
to $output that may be still in $expect_out(buffer) when eof is
diff --git a/lib/remote.exp b/lib/remote.exp
index 1bea4e1..494b0a5 100644
--- a/lib/remote.exp
+++ b/lib/remote.exp
@@ -217,9 +217,7 @@ proc local_exec { commandline inp outp timeout } {
expect {
-i $spawn_id -timeout $timeout -re ".+" {
append output $expect_out(buffer)
- if { [string length $output] < 512000 } {
- exp_continue -continue_timer
- }
+ exp_continue -continue_timer
}
timeout {
warning "program timed out."