# # \brief Test for using the expat library # \author Christian Prochaska # \date 2012-06-12 # # # Build # build { core init drivers/timer test/expat } create_boot_directory # # Generate config # install_config { } # # Boot modules # build_boot_image { core init timer ld.lib.so libc.lib.so vfs.lib.so vfs.lib.so vfs.lib.so expat.lib.so posix.lib.so test-expat } # # Execute test case # append qemu_args " -nographic " run_genode_until {.*child "test-expat" exited with exit value 0.*} 5 grep_output {\[init -> test-expat\] } compare_output_to { [init -> test-expat] start of element: config [init -> test-expat] start of element: test_tag [init -> test-expat] attribute: name='test_attribute', value='test_value' [init -> test-expat] end of element: test_tag [init -> test-expat] end of element: config } # vi: set ft=tcl :