nixpkgs/nixos/tests/simple.nix

17 lines
345 B
Nix

import ./make-test.nix ({ pkgs, ...} : {
name = "simple";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ eelco ];
};
machine = { ... }: {
imports = [ ../modules/profiles/minimal.nix ];
};
testScript =
''
startAll;
$machine->waitForUnit("multi-user.target");
$machine->shutdown;
'';
})