assert_spec linux set depot_archives { } set build_components { } set boot_modules { } lappend depot_archives [depot_user]/src/[base_src] lappend depot_archives [depot_user]/src/init lappend depot_archives [depot_user]/src/vfs lappend depot_archives [depot_user]/src/vfs_import if { [get_cmd_switch --autopilot] } { lappend depot_archives [depot_user]/src/lx_fs } else { lappend build_components server/lx_fs lappend boot_modules lx_fs } set config { Hello Friend! bar bar } create_boot_directory install_config $config import_from_depot $depot_archives if { [llength $build_components] > 0 } { build $build_components } build_boot_image $boot_modules ## Create files before genode is run exec mkdir -p [run_dir]/genode/test-existing-file exec echo "This file already exist." > [run_dir]/genode/test-existing-file/a_file exec mkdir -p [run_dir]/genode/test-existing-directory append qemu_args " -nographic " run_genode_until "Warning: skipping copy of file /test-existing-file/a_file, OPEN_ERR_EXISTS" 20 set created_file { [run_dir]/genode/test-file/foo } if { [file exists $created_file] == 1 } { puts { "Imported file not found." } exit 1 } set created_file_in_dir { [run_dir]/genode/test-existing-directory/foo } if { [file exists $created_file] == 1 } { puts { "Imported file not found." } exit 1 }