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