genode/repos/libports/recipes/pkg/test-libc_vfs/runtime

50 lines
1.2 KiB
Plaintext
Raw Normal View History

2018-10-10 16:08:14 +00:00
<runtime ram="32M" caps="1000" binary="init">
<fail after_seconds="30"/>
<succeed>child "test-libc_vfs" exited with exit value 0</succeed>
<fail>Error: </fail>
2018-10-10 16:08:14 +00:00
<content>
<rom label="ld.lib.so"/>
<rom label="libc.lib.so"/>
<rom label="vfs.lib.so"/>
<rom label="vfs"/>
2018-10-10 16:08:14 +00:00
<rom label="test-libc_vfs"/>
</content>
<config>
<parent-provides>
<service name="ROM"/>
<service name="PD"/>
<service name="RM"/>
<service name="CPU"/>
<service name="LOG"/>
</parent-provides>
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<start name="ram_fs">
<resource name="RAM" quantum="12M"/>
<binary name="vfs"/>
2018-10-10 16:08:14 +00:00
<provides> <service name="File_system"/> </provides>
<config>
<vfs> <ram/> </vfs>
<default-policy root="/" writeable="yes"/>
</config>
2018-10-10 16:08:14 +00:00
</start>
<start name="test-libc_vfs">
<resource name="RAM" quantum="4M"/>
<config>
<iterations value="1"/>
2018-10-10 16:08:14 +00:00
<write-read size="1M" buffer_size="8K"/>
<vfs>
<dir name="tmp"> <fs/> </dir>
<dir name="dev"> <log/> </dir>
</vfs>
<libc stdout="/dev/log" cwd="/tmp"/>
</config>
</start>
</config>
</runtime>