# # \brief VFS stress test # \author Emery Hemingway # \date 2015-08-30 # # # Check used commands # set mke2fs [installed_command mke2fs] set dd [installed_command dd] build "core init timer test/vfs_stress server/ram_block lib/vfs/rump" # # Build EXT2-file-system image # catch { exec $dd if=/dev/zero of=bin/ext2.raw bs=1M count=16 } catch { exec $mke2fs -F bin/ext2.raw } create_boot_directory install_config { } set boot_modules { core init ld.lib.so timer vfs_stress rump.lib.so rump_fs.lib.so vfs.lib.so vfs_rump.lib.so ram_block ext2.raw } build_boot_image $boot_modules append qemu_args "-nographic -smp cpus=6" run_genode_until {child "vfs_stress" exited with exit value 0} 180 exec rm -f bin/ext2.raw