nixpkgs-suyu/nixos/tests/sssd.nix
Bjørn Forsman 48b0aa7164 nixos/sssd: create symlinks in /etc to fix sssctl
Without this, sssctl fails to read its configuration. Update the NixOS
test to ensure sssctl doesn't regress.
2023-03-19 09:28:35 +01:00

18 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")
'';
})