mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
8bd0efced6
Adapted launchpad and also the rm_fault and resource_request tests. Issue #2407
50 lines
1.2 KiB
Plaintext
50 lines
1.2 KiB
Plaintext
#
|
|
# \brief VFS stress test
|
|
# \author Emery Hemingway
|
|
# \date 2015-08-30
|
|
#
|
|
|
|
build "core init drivers/timer server/ram_fs test/vfs_stress"
|
|
|
|
create_boot_directory
|
|
|
|
install_config {
|
|
<config>
|
|
<affinity-space width="3" height="2"/>
|
|
<parent-provides>
|
|
<service name="CPU"/>
|
|
<service name="IO_PORT"/>
|
|
<service name="IRQ"/>
|
|
<service name="LOG"/>
|
|
<service name="PD"/>
|
|
<service name="RM"/>
|
|
<service name="ROM"/>
|
|
</parent-provides>
|
|
<default-route>
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
</default-route>
|
|
<default caps="100"/>
|
|
<start name="timer">
|
|
<resource name="RAM" quantum="1M"/>
|
|
<provides><service name="Timer"/></provides>
|
|
</start>
|
|
<start name="vfs_stress">
|
|
<resource name="RAM" quantum="8M"/>
|
|
<config depth="16"> <vfs> <fs/> </vfs> </config>
|
|
</start>
|
|
<start name="ram_fs">
|
|
<resource name="RAM" quantum="1G"/>
|
|
<provides><service name="File_system"/></provides>
|
|
<config>
|
|
<default-policy root="/" writeable="yes"/>
|
|
</config>
|
|
</start>
|
|
</config>
|
|
}
|
|
|
|
build_boot_image "core init ld.lib.so timer ram_fs vfs_stress"
|
|
|
|
append qemu_args "-nographic -smp cpus=6"
|
|
|
|
run_genode_until ".*child \"vfs_stress\" exited with exit value 0.*" 180
|