genode/repos/base-nova/run/platform.run
Alexander Boettcher c6943d494b nova: extend platform test to provoke kernel panic
Showcasing the out of memory kernel issue.

One test triggers oom during memory delegation when talking to core pager
thread. Two other test trigger oom during capability delegation in a
server/client scenario for send and reply phase separately.

Issue #1601
2015-08-21 10:58:58 +02:00

33 lines
643 B
Plaintext

build "core init test/platform"
create_boot_directory
install_config {
<config>
<parent-provides>
<service name="ROM"/>
<service name="RAM"/>
<service name="CPU"/>
<service name="RM"/>
<service name="CAP"/>
<service name="PD"/>
<service name="SIGNAL"/>
<service name="LOG"/>
</parent-provides>
<default-route>
<any-service> <parent/> </any-service>
</default-route>
<start name="test-platform">
<resource name="RAM" quantum="2M"/>
</start>
</config>
}
build_boot_image "core init test-platform"
append qemu_args "-nographic -m 128"
run_genode_until {Test finished} 150
puts "\nTest succeeded"