# # \brief VFS stress test # \author Emery Hemingway # \date 2015-08-30 # # # Check used commands # set mke2fs [installed_command mke2fs] set dd [installed_command dd] set build_components { core init timer test/vfs_stress server/vfs_block lib/vfs_rump lib/vfs_import } build $build_components # # 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 vfs_import.lib.so vfs_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