From e6cf426d72ce3551f96840f9b19b17512cda6182 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20S=C3=B6ntgen?= Date: Tue, 24 Mar 2015 11:02:56 +0100 Subject: [PATCH] run: always append to output buffer On each execution the output buffer is overriden when run_genode_until is executed multiple times. Run scripts, that depend on extracting information after several execution steps, e.g. noux_net_netcat, will fail to do so. Therefore, we append the newly captured log output to the old output buffer. Issue #1327. --- tool/run/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/run/run b/tool/run/run index 5b5d25f597..41fcf972c2 100755 --- a/tool/run/run +++ b/tool/run/run @@ -480,7 +480,7 @@ proc wait_for_output { wait_for_re timeout_value running_spawn_id } { eof { puts stderr "Error: Spawned process died unexpectedly"; exit -3 } timeout { puts stderr "Error: Test execution timed out"; exit -2 } } - set output $expect_out(buffer) + append output $expect_out(buffer) }