mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
1e1df21a94
Fixes #4859
48 lines
1.8 KiB
Plaintext
48 lines
1.8 KiB
Plaintext
build { core init lib/ld test/log }
|
|
|
|
create_boot_directory
|
|
|
|
install_config {
|
|
<config>
|
|
<parent-provides>
|
|
<service name="LOG"/>
|
|
<service name="PD"/>
|
|
<service name="CPU"/>
|
|
<service name="ROM"/>
|
|
</parent-provides>
|
|
<default-route>
|
|
<any-service> <parent/> </any-service>
|
|
</default-route>
|
|
<default caps="50"/>
|
|
<start name="test-log">
|
|
<resource name="RAM" quantum="10M"/>
|
|
</start>
|
|
</config>
|
|
}
|
|
|
|
build_boot_image [build_artifacts]
|
|
|
|
append qemu_args "-nographic "
|
|
|
|
run_genode_until "Test done.*\n" 20
|
|
|
|
grep_output {\[init -\> test-log}
|
|
|
|
compare_output_to {
|
|
[init -> test-log] hex range: [0e00,1680)
|
|
[init -> test-log] empty hex range: [0abc0000,0abc0000) (empty!)
|
|
[init -> test-log] hex range to limit: [f8,ff]
|
|
[init -> test-log] invalid hex range: [f8,08) (overflow!)
|
|
[init -> test-log] negative hex char: 0xfe
|
|
[init -> test-log] positive hex char: 0x02
|
|
[init -> test-log] floating point: 1.70
|
|
[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.
|
|
}
|