mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 15:56:41 +00:00
8d1cf08b1a
This patch revives our ds_ownership test from 2012, which just revealed a regression in core where the dataspace-free operation of the RAM service would unconditionally destroy dataspace objects from foreign sessions. The patch fixes the bug and adds an updated version of the test to the autopilot. Fixes #2065
40 lines
844 B
Plaintext
40 lines
844 B
Plaintext
build "core init test/ds_ownership"
|
|
|
|
create_boot_directory
|
|
|
|
install_config {
|
|
<config verbose="yes">
|
|
<parent-provides>
|
|
<service name="ROM"/>
|
|
<service name="RAM"/>
|
|
<service name="CAP"/>
|
|
<service name="PD"/>
|
|
<service name="RM"/>
|
|
<service name="CPU"/>
|
|
<service name="LOG"/>
|
|
</parent-provides>
|
|
<start name="test-ds_ownership">
|
|
<resource name="RAM" quantum="10M"/>
|
|
<route><any-service><parent/></any-service></route>
|
|
<config verbose="yes">
|
|
<parent-provides>
|
|
<service name="ROM"/>
|
|
<service name="RAM"/>
|
|
<service name="CAP"/>
|
|
<service name="PD"/>
|
|
<service name="RM"/>
|
|
<service name="CPU"/>
|
|
<service name="LOG"/>
|
|
</parent-provides>
|
|
</config>
|
|
</start>
|
|
</config>
|
|
}
|
|
|
|
build_boot_image "core init test-ds_ownership"
|
|
|
|
append qemu_args "-nographic -m 64"
|
|
|
|
run_genode_until {.*test succeeded.*\n} 10
|
|
|