assert_spec linux 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 set build_components { } if { [get_cmd_switch --autopilot] } { lappend depot_archives [depot_user]/src/lx_fs } else { lappend build_components server/lx_fs } create_boot_directory install_config { Hello Friend! bar bar } import_from_depot $depot_archives if { [llength $build_components] > 0 } { build $build_components } build_boot_image [build_artifacts] ## 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 }