mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 23:52:55 +00:00
nixosTests.nscd: add nsncd specialisation
This shows that nsncd successfully passes all the tests that we run against glibc-nscd.
This commit is contained in:
parent
e7bc3e7504
commit
a86e080fa4
@ -43,6 +43,9 @@ in
|
||||
withUnscd.configuration = { ... }: {
|
||||
services.nscd.package = pkgs.unscd;
|
||||
};
|
||||
withNsncd.configuration = { ... }: {
|
||||
services.nscd.enableNsncd = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@ -126,5 +129,13 @@ in
|
||||
|
||||
# known to fail, unscd doesn't load external NSS modules
|
||||
# test_nss_myhostname()
|
||||
|
||||
with subtest("nsncd"):
|
||||
machine.succeed('${specialisations}/withNsncd/bin/switch-to-configuration test')
|
||||
machine.wait_for_unit("default.target")
|
||||
|
||||
test_dynamic_user()
|
||||
test_host_lookups()
|
||||
test_nss_myhostname()
|
||||
'';
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user