mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03: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")
|
|
'';
|
|
})
|