2013-09-06 14:30:46 +00:00
|
|
|
#
|
|
|
|
# \brief Test for Linux-specific region map
|
|
|
|
# \author Christian Helmuth
|
|
|
|
# \date 2013-09-06
|
|
|
|
#
|
|
|
|
|
|
|
|
assert_spec linux
|
|
|
|
|
2023-05-04 12:11:51 +00:00
|
|
|
build [list core init lib/ld [test_build_target]]
|
2013-09-06 14:30:46 +00:00
|
|
|
|
|
|
|
create_boot_directory
|
|
|
|
|
2023-05-04 12:11:51 +00:00
|
|
|
install_config {
|
2013-09-06 14:30:46 +00:00
|
|
|
<config>
|
|
|
|
<parent-provides>
|
|
|
|
<service name="ROM"/>
|
2017-05-07 20:36:11 +00:00
|
|
|
<service name="PD"/>
|
2013-09-06 14:30:46 +00:00
|
|
|
<service name="LOG"/>
|
|
|
|
<service name="CPU"/>
|
|
|
|
</parent-provides>
|
|
|
|
<default-route>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
2017-05-07 20:36:11 +00:00
|
|
|
</default-route>
|
2023-05-04 12:11:51 +00:00
|
|
|
<default caps="100"/>
|
|
|
|
<start name="} [test_program_name] {">
|
2013-09-06 14:30:46 +00:00
|
|
|
<resource name="RAM" quantum="8M"/>
|
|
|
|
</start>
|
|
|
|
</config>}
|
|
|
|
|
|
|
|
|
2023-05-04 12:11:51 +00:00
|
|
|
build_boot_image [build_artifacts]
|
2013-09-06 14:30:46 +00:00
|
|
|
|
2023-05-04 12:11:51 +00:00
|
|
|
run_genode_until "child \"[test_program_name]\" exited with exit value 0.*\n" 10
|
2013-09-06 14:30:46 +00:00
|
|
|
|
2014-04-15 07:31:50 +00:00
|
|
|
puts "Test succeeded"
|
2013-09-06 14:30:46 +00:00
|
|
|
|
|
|
|
# vi: set ft=tcl :
|