2018-10-10 16:08:14 +00:00
|
|
|
<runtime ram="32M" caps="1000" binary="init">
|
|
|
|
|
2023-06-24 14:57:19 +00:00
|
|
|
<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"/>
|
2020-04-20 12:00:57 +00:00
|
|
|
<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"/>
|
2020-04-20 12:00:57 +00:00
|
|
|
<binary name="vfs"/>
|
2018-10-10 16:08:14 +00:00
|
|
|
<provides> <service name="File_system"/> </provides>
|
2020-04-20 12:00:57 +00:00
|
|
|
<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>
|
2020-04-20 12:00:57 +00:00
|
|
|
<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>
|