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