mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 12:45:27 +03:00
18 lines
439 B
Nix
18 lines
439 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
|
||
|
'';
|
||
|
}
|
||
|
)
|