1import ./make-test-python.nix (
2 { pkgs, ... }:
3 {
4 name = "systemd-no-tainted";
5
6 nodes.machine = { };
7
8 testScript = ''
9 machine.wait_for_unit("multi-user.target")
10 with subtest("systemctl should not report tainted with unmerged-usr"):
11 output = machine.succeed("systemctl status")
12 print(output)
13 assert "Tainted" not in output
14 assert "unmerged-usr" not in output
15 '';
16 }
17)