genode/os/run/bomb.run

40 lines
896 B
Plaintext
Raw Normal View History

2012-11-27 09:40:13 +00:00
build "core init test/bomb drivers/timer"
create_boot_directory
install_config {
<config prio_levels="2">
<parent-provides>
<service name="ROM"/>
<service name="RAM"/>
<service name="IRQ"/>
<service name="IO_MEM"/>
<service name="IO_PORT"/>
<service name="CAP"/>
<service name="PD"/>
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
<service name="SIGNAL"/>
</parent-provides>
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<start name="timer">
<resource name="RAM" quantum="768K"/>
<provides><service name="Timer"/></provides>
</start>
<start name="bomb" priority="-1">
<resource name="RAM" quantum="2G"/>
<config rounds="20"/>
</start>
</config>}
2012-11-27 09:40:13 +00:00
build_boot_image "core init bomb timer"
append qemu_args "-nographic -m 128"
2012-11-27 09:40:13 +00:00
run_genode_until "Done\. Going to sleep\." 300
2012-11-27 09:40:13 +00:00
puts "Test succeeded."