sigil/tests/hello.nix
Emery Hemingway 2afd2d08cc nixos: add genode.init.children.<…>.binary option
Require that all init children declared by Nix be declared with
an absolute path to the program binary.
2021-02-16 15:46:14 +01:00

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")
'';
}