sigil/tests/ahci.nix

20 lines
389 B
Nix
Raw Normal View History

2020-12-30 21:07:30 +01:00
{
name = "ahci";
machine = { pkgs, ... }: {
2021-01-13 12:33:52 +01:00
fileSystems."/".block = {
driver = "ahci";
device = 0;
partition = 1;
};
genode.boot.storeBackend = "fs";
2020-12-30 21:07:30 +01:00
genode.init.children.hello = {
2021-02-16 12:10:50 +01:00
package = pkgs.hello;
configFile = ./hello.dhall;
2020-12-30 21:07:30 +01:00
};
};
testScript = ''
start_all()
machine.wait_until_serial_output("Hello, world!")
2020-12-30 21:07:30 +01:00
'';
}