Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
14 lines
411 B
Nix
14 lines
411 B
Nix
import ./make-test-python.nix ({ pkgs, ... }: {
|
|
name = "systemd-no-tainted";
|
|
|
|
nodes.machine = { };
|
|
|
|
testScript = ''
|
|
machine.wait_for_unit("multi-user.target")
|
|
with subtest("systemctl should not report tainted with unmerged-usr"):
|
|
output = machine.succeed("systemctl status")
|
|
print(output)
|
|
assert "Tainted" not in output
|
|
assert "unmerged-usr" not in output
|
|
'';
|
|
})
|