Add execve test to depot autopilot

This commit is contained in:
Norman Feske 2020-03-05 16:51:20 +01:00
parent 672cb57cc2
commit 03f5126c4d
8 changed files with 33 additions and 11 deletions

View File

@ -675,6 +675,7 @@ set default_test_pkgs {
test-libc_connect_vfs_server_lwip
test-libc_connect_vfs_server_lxip
test-libc_counter
test-libc_execve
test-libc_getenv
test-libc_pipe
test-libc_vfs

View File

@ -0,0 +1 @@
Test for the execve mechanism provided by the libc.

View File

@ -0,0 +1,4 @@
_/src/test-libc_execve
_/src/libc
_/src/vfs
_/src/posix

View File

@ -0,0 +1 @@
2020-03-05 be84f6f33c3c0f7dd4358324c8a95af0e333d860

View File

@ -1,8 +1,23 @@
build { core init test/execve }
<runtime ram="32M" caps="1000" binary="init">
create_boot_directory
<requires> <timer/> </requires>
<events>
<timeout meaning="failed" sec="30" />
<log meaning="succeeded">child "test-execve" exited with exit value 0</log>
<log meaning="failed">Error: </log>
</events>
<content>
<rom label="ld.lib.so"/>
<rom label="libc.lib.so"/>
<rom label="libm.lib.so"/>
<rom label="posix.lib.so"/>
<rom label="vfs.lib.so"/>
<rom label="vfs"/>
<rom label="test-execve"/>
</content>
install_config {
<config verbose="yes">
<parent-provides>
<service name="ROM"/>
@ -25,12 +40,5 @@ install_config {
</route>
</start>
</config>
}
build_boot_image {
core init ld.lib.so libc.lib.so vfs.lib.so libm.lib.so posix.lib.so test-execve
}
append qemu_args " -nographic "
run_genode_until "child.*exited.*value 0.*\n" 15
</runtime>

View File

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

View File

@ -0,0 +1 @@
2020-03-05 683c1e1941d9bc880cdf6922ba443ccd67e19d63

View File

@ -0,0 +1,3 @@
base
posix
libc