2012-02-14 11:45:01 +00:00
|
|
|
build "core init test/cap_integrity"
|
|
|
|
|
|
|
|
create_boot_directory
|
|
|
|
|
|
|
|
install_config {
|
|
|
|
<config>
|
|
|
|
<parent-provides>
|
|
|
|
<service name="ROM"/>
|
|
|
|
<service name="RAM"/>
|
|
|
|
<service name="CPU"/>
|
|
|
|
<service name="RM"/>
|
|
|
|
<service name="PD"/>
|
|
|
|
<service name="LOG"/>
|
|
|
|
</parent-provides>
|
|
|
|
<default-route>
|
|
|
|
<any-service> <parent/> </any-service>
|
|
|
|
</default-route>
|
|
|
|
<start name="test-cap_integrity">
|
|
|
|
<resource name="RAM" quantum="10M"/>
|
|
|
|
</start>
|
|
|
|
</config>
|
|
|
|
}
|
|
|
|
|
2016-12-01 18:00:11 +00:00
|
|
|
build_boot_image "core ld.lib.so init test-cap_integrity"
|
2012-02-14 11:45:01 +00:00
|
|
|
|
|
|
|
append qemu_args "-nographic -m 64"
|
|
|
|
|
|
|
|
# increase expect buffer size, since there might be many log messages
|
|
|
|
match_max -d 100000
|
|
|
|
|
2014-08-22 12:43:54 +00:00
|
|
|
run_genode_until {child "test-cap_integrity" exited with exit value 0.*\n} 20
|
2012-02-14 11:45:01 +00:00
|
|
|
|
2012-03-23 11:36:20 +00:00
|
|
|
grep_output {\[init\] test message}
|
|
|
|
compare_output_to { }
|