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

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

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