mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-22 04:52:56 +01:00
os: minor fix terminal_expect_send test-component
When an empty line was send, it could occur that a previous line got printed instead. Ref #3926
This commit is contained in:
committed by
Christian Helmuth
parent
7298b00013
commit
6be09a27ca
@@ -55,6 +55,7 @@ struct Main
|
||||
if (read_buffer[i] == '\n') {
|
||||
if (verbose) log(Cstring(line));
|
||||
line_idx = 0;
|
||||
line[line_idx] = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user