genode/repos/base-foc/run/cap_integrity.run
Norman Feske f119d9ee8b base: use [build_artifacts] in run scripts
The patch also removes a few legacies along the way, unifies the coding
style, and cuts back superfluous comments.

Issue #4860
2023-05-30 12:03:26 +02:00

34 lines
756 B
Plaintext

build { core init lib/ld test/cap_integrity }
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>
<start name="test-cap_integrity" caps="100" ld="no">
<resource name="RAM" quantum="10M"/>
</start>
</config>
}
build_boot_image [build_artifacts]
append qemu_args "-nographic "
# increase expect buffer size, since there might be many log messages
match_max -d 100000
run_genode_until {child "test-cap_integrity" exited with exit value 0.*\n} 20
grep_output {\[init\] test message}
compare_output_to { }