mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-09 04:15:52 +00: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:
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user