From 566e82586139ad0135b875f164e3c727e7d08fcb Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Wed, 17 Feb 2016 04:15:36 +1100 Subject: [PATCH] * lib/remote.exp (local_exec): Call exp_continue until eof is matched. --- ChangeLog | 5 +++++ lib/remote.exp | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index e80cf54..f926be1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-02-17 Ben Elliston + + * lib/remote.exp (local_exec): Call exp_continue until eof is + matched. + 2016-02-16 Ben Elliston * runtest.exp: Use the traditional exit codes when runtest is diff --git a/lib/remote.exp b/lib/remote.exp index 2d20a61..1fd1010 100644 --- a/lib/remote.exp +++ b/lib/remote.exp @@ -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." -- 2.7.4