aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/nixos/tests/sssd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/tests/sssd.nix')
-rw-r--r--nixpkgs/nixos/tests/sssd.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/nixpkgs/nixos/tests/sssd.nix b/nixpkgs/nixos/tests/sssd.nix
new file mode 100644
index 00000000000..4c6ca86c74c
--- /dev/null
+++ b/nixpkgs/nixos/tests/sssd.nix
@@ -0,0 +1,17 @@
+import ./make-test-python.nix ({ pkgs, ... }:
+
+{
+ name = "sssd";
+ meta = with pkgs.stdenv.lib.maintainers; {
+ maintainers = [ bbigras ];
+ };
+ machine = { pkgs, ... }: {
+ services.sssd.enable = true;
+ };
+
+ testScript = ''
+ start_all()
+ machine.wait_for_unit("multi-user.target")
+ machine.wait_for_unit("sssd.service")
+ '';
+})