aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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."