# # Test runs only on Linux # assert_spec linux # # Build # build { core lib/ld init timer server/lx_block app/gpt_write } create_boot_directory # # Generate config # install_config { } # # Create test file # catch { exec dd if=/dev/zero of=bin/gpt.img bs=1M count=256 } build_boot_image [list {*}[build_artifacts] gpt.img] run_genode_until {child "gpt_write" exited with exit value 0.*\n} 10 exec rm -f bin/gpt.img