about summary refs log tree commit diff
path: root/nixos/tests/simple.nix
blob: afd49d481a65d54aa5094be587b47b90f5695b30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import ./make-test-python.nix ({ pkgs, ...} : {
  name = "simple";
  meta = with pkgs.lib.maintainers; {
    maintainers = [ ];
  };

  nodes.machine = { ... }: {
    imports = [ ../modules/profiles/minimal.nix ];
  };

  testScript =
    ''
      start_all()
      machine.wait_for_unit("multi-user.target")
      machine.shutdown()
    '';
})