about summary refs log tree commit diff
path: root/nixos/tests/simple.nix
blob: c36287b4e843bece487cce5988ac8935fba57fa1 (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 = [ eelco ];
  };

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

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