* lib/remote.exp (local_exec): Call exp_continue until eof is
authorBen Elliston <bje@gnu.org>
Tue, 16 Feb 2016 17:15:36 +0000 (04:15 +1100)
committerBen Elliston <bje@gnu.org>
Tue, 16 Feb 2016 17:15:36 +0000 (04:15 +1100)
matched.

ChangeLog
lib/remote.exp

index e80cf54..f926be1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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>
 
        * runtest.exp: Use the traditional exit codes when runtest is
index 2d20a61..1fd1010 100644 (file)
@@ -214,9 +214,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."