# # Test runs only on Linux # assert_spec linux # # Build # build { core 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 } # # Boot modules # build_boot_image { core ld.lib.so init timer lx_block gpt_write gpt.img } run_genode_until {child "gpt_write" exited with exit value 0.*\n} 10 exec rm -f bin/gpt.img