assert_spec linux create_boot_directory proc tresor_image_file { } { return "vfs_tresor_block.img" } set use_interactively [expr ![get_cmd_switch --autopilot]] import_from_depot [depot_user]/pkg/[drivers_interactive_pkg] \ [depot_user]/pkg/terminal \ [depot_user]/src/ncurses \ [depot_user]/src/bash \ [depot_user]/src/coreutils \ [depot_user]/src/nitpicker build { core lib/ld timer init server/lx_fs lib/vfs_tresor lib/vfs_tresor_crypto_aes_cbc lib/vfs_tresor_crypto_memcopy lib/vfs_tresor_trust_anchor lib/vfs_import lib/vfs_jitterentropy lib/vfs_pipe lib/vfs lib/libc lib/posix lib/libcrypto test/vfs_stress test/libc server/log_terminal server/report_rom server/fs_rom app/tresor_init_trust_anchor app/sequence } set config { } append_if $use_interactively config { } append_if [expr !$use_interactively] config { } append config { 2018-01-01 00:01 } install_config $config set shell_script "run/vfs_tresor.sh" set repo "[repository_contains $shell_script]" exec cp $repo/$shell_script bin/ set boot_modules [build_artifacts] append boot_modules { vfs_tresor.sh encrypted_private_key superblock_hash } lappend boot_modules [tresor_image_file] set fd [open [run_dir]/genode/focus w] puts $fd " \" domain=\"default\"/>" close $fd build_boot_image $boot_modules if {$use_interactively} { run_genode_until forever } else { run_genode_until {.*--- Automated Tresor testing finished.*} 1800 }