genode/repos/libports/run/ada_secondary_stack.run
2018-05-30 13:36:08 +02:00

34 lines
751 B
Plaintext

build "core init test/ada_secondary_stack"
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="100"/>
<start name="test-ada_secondary_stack">
<resource name="RAM" quantum="10M"/>
</start>
</config>
}
build_boot_image "core ld.lib.so ada.lib.so init test-ada_secondary_stack"
append qemu_args "-nographic "
run_genode_until {child "test-ada_secondary_stack" exited with exit value 0.*} 20
grep_output {successful}
compare_output_to {
[init -> test-ada_secondary_stack] secondary stack test successful
}