build { core init lib/ld test/double_list } create_boot_directory install_config { } build_boot_image [build_artifacts] append qemu_args " -nographic" run_genode_until "done.*\n" 10 grep_output {\[init -> test-double_list\]} compare_output_to { [init -> test-double_list] print each [init -> test-double_list] print each [init -> test-double_list] 1 [init -> test-double_list] print each [init -> test-double_list] 3 [init -> test-double_list] 2 [init -> test-double_list] 5 [init -> test-double_list] 7 [init -> test-double_list] 6 [init -> test-double_list] 4 [init -> test-double_list] 1 [init -> test-double_list] print each [init -> test-double_list] 8 [init -> test-double_list] 9 [init -> test-double_list] 2 [init -> test-double_list] 5 [init -> test-double_list] 1 [init -> test-double_list] 7 [init -> test-double_list] 6 [init -> test-double_list] 4 [init -> test-double_list] 3 [init -> test-double_list] print each [init -> test-double_list] 7 [init -> test-double_list] 8 [init -> test-double_list] done }