# # \brief Test for using the libc_fs plugin with the TAR file system # \author Christian Prochaska # \date 2012-08-20 # # # Build # build { core init drivers/timer server/tar_fs test/libc_fs_tar_fs } create_boot_directory # # Generate config # set config { } append config { } install_config $config # # Create tar archive # exec mkdir -p bin/libc_fs_tar_fs/testdir/testdir exec echo -n "a single line of text" > bin/libc_fs_tar_fs/testdir/testdir/test.tst exec tar cfv bin/libc_fs_tar_fs.tar -h -C bin/libc_fs_tar_fs . # # Boot modules # # generic modules set boot_modules { core init timer tar_fs ld.lib.so libc.lib.so libc_log.lib.so libc_fs.lib.so test-libc_fs_tar_fs libc_fs_tar_fs.tar } build_boot_image $boot_modules # # Execute test case # # # Qemu # append qemu_args " -m 128 -nographic " run_genode_until {.*child exited with exit value 0.*} 60 #exec rm -rf bin/libc_fs_tar_fs #exec rm -rf bin/libc_fs_tar_fs.tar puts "\ntest succeeded\n" # vi: set ft=tcl :