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.
This commit is contained in:
Josef Söntgen 2015-03-24 11:02:56 +01:00 committed by Christian Helmuth
parent 88c1ca8e9c
commit e6cf426d72

View File

@ -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)
}