2023-05-04 12:11:51 +00:00
|
|
|
build { core init lib/ld test/cap_integrity }
|
2012-02-14 11:45:01 +00:00
|
|
|
|
|
|
|
create_boot_directory
|
|
|
|
|
|
|
|
install_config {
|
|
|
|
<config>
|
|
|
|
<parent-provides>
|
|
|
|
<service name="ROM"/>
|
|
|
|
<service name="CPU"/>
|
|
|
|
<service name="RM"/>
|
|
|
|
<service name="PD"/>
|
|
|
|
<service name="LOG"/>
|
|
|
|
</parent-provides>
|
|
|
|
<default-route>
|
|
|
|
<any-service> <parent/> </any-service>
|
|
|
|
</default-route>
|
2020-11-28 18:34:37 +00:00
|
|
|
<start name="test-cap_integrity" caps="100" ld="no">
|
2012-02-14 11:45:01 +00:00
|
|
|
<resource name="RAM" quantum="10M"/>
|
|
|
|
</start>
|
|
|
|
</config>
|
|
|
|
}
|
|
|
|
|
2023-05-04 12:11:51 +00:00
|
|
|
build_boot_image [build_artifacts]
|
2012-02-14 11:45:01 +00:00
|
|
|
|
2017-05-23 13:05:55 +00:00
|
|
|
append qemu_args "-nographic "
|
2012-02-14 11:45:01 +00:00
|
|
|
|
|
|
|
# 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 { }
|