depot_autopilot: test case for entrypoint

Test for entrypoint destruction and signalling.

Issue #3704
This commit is contained in:
Christian Helmuth
2020-03-23 15:44:24 +01:00
parent f051065582
commit 69080014b0
11 changed files with 207 additions and 33 deletions

View File

@@ -0,0 +1 @@
Scenario that tests Genode::Entrypoint functionality

View File

@@ -0,0 +1,2 @@
_/src/init
_/src/test-entrypoint

View File

@@ -0,0 +1 @@
2020-03-21 c9ee8f61ce95fdfdb183ba48b73d66c05f24230e

View File

@@ -0,0 +1,28 @@
<runtime ram="32M" caps="1000" binary="init">
<events>
<timeout meaning="failed" sec="60" />
<log meaning="succeeded">child "test-entrypoint" exited with exit value 0</log>
</events>
<content>
<rom label="ld.lib.so"/>
<rom label="test-entrypoint"/>
</content>
<config>
<parent-provides>
<service name="LOG"/>
<service name="PD"/>
<service name="CPU"/>
<service name="ROM"/>
<service name="Timer"/>
</parent-provides>
<default-route>
<any-service> <parent/> </any-service>
</default-route>
<start name="test-entrypoint" caps="100">
<resource name="RAM" quantum="10M"/>
</start>
</config>
</runtime>

View File

@@ -0,0 +1,2 @@
SRC_DIR = src/test/entrypoint
include $(GENODE_DIR)/repos/base/recipes/src/content.inc

View File

@@ -0,0 +1 @@
2020-03-21 3b4a05c0704d0259fb66ad1cea1166231a2f19dd

View File

@@ -0,0 +1 @@
base