# # \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_blk server/rump_fs" # # 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 rump_fs ram_blk ext2.raw vfs.lib.so } 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