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
1 changed files with 11 additions and 0 deletions
|
@ -43,6 +43,9 @@ in
|
||||||
withUnscd.configuration = { ... }: {
|
withUnscd.configuration = { ... }: {
|
||||||
services.nscd.package = pkgs.unscd;
|
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
|
# known to fail, unscd doesn't load external NSS modules
|
||||||
# test_nss_myhostname()
|
# 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 a new issue