mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
48b0aa7164
Without this, sssctl fails to read its configuration. Update the NixOS test to ensure sssctl doesn't regress.
19 lines
399 B
Nix
19 lines
399 B
Nix
import ./make-test-python.nix ({ pkgs, ... }:
|
|
|
|
{
|
|
name = "sssd";
|
|
meta = with pkgs.lib.maintainers; {
|
|
maintainers = [ bbigras ];
|
|
};
|
|
nodes.machine = { pkgs, ... }: {
|
|
services.sssd.enable = true;
|
|
};
|
|
|
|
testScript = ''
|
|
start_all()
|
|
machine.wait_for_unit("multi-user.target")
|
|
machine.wait_for_unit("sssd.service")
|
|
machine.succeed("sssctl config-check")
|
|
'';
|
|
})
|