Emery Hemingway
2afd2d08cc
Require that all init children declared by Nix be declared with an absolute path to the program binary.
14 lines
294 B
Nix
14 lines
294 B
Nix
{
|
|
name = "hello";
|
|
machine = { pkgs, ... }: {
|
|
genode.init.children.hello = {
|
|
binary = "${pkgs.hello}/bin/hello";
|
|
configFile = ./hello.dhall;
|
|
};
|
|
};
|
|
testScript = ''
|
|
start_all()
|
|
machine.wait_until_serial_output("child \"init\" exited with exit value 0")
|
|
'';
|
|
}
|