Limit max string length in log session for okl4

This commit also adds a test to test-log.
This commit is contained in:
Christian Helmuth
2017-10-06 16:50:01 +02:00
parent 487162a53d
commit 0da420c104
3 changed files with 30 additions and 3 deletions

View File

@ -27,7 +27,7 @@ append xen_args { sdl="0" }
run_genode_until "Test done.*\n" 20
grep_output {\[init -\> test-log\]}
grep_output {\[init -\> test-log}
compare_output_to {
[init -> test-log] hex range: [0e00,1680)
@ -38,5 +38,10 @@ compare_output_to {
[init -> test-log] positive hex char: 0x02
[init -> test-log] multiarg string: "parent -> child.7"
[init -> test-log] String(Hex(3)): 0x3
[init -> test-log] Very long messages:
[init -> test-log -> log] 1.....................................................................................................................................................................................................................................2
[init -> test-log] 3.....................................................................................................................................................................................................................................4
[init -> test-log] 5.....................................................................................................................................................................................................................................6
[init -> test-log]
[init -> test-log] Test done.
}