diff options
author | Christof Schmitt <cs@samba.org> | 2019-07-02 11:22:13 -0700 |
---|---|---|
committer | Christof Schmitt <cs@samba.org> | 2019-07-23 18:27:25 +0000 |
commit | 8fb906a1860452a320c79ac87917a97303729c19 (patch) | |
tree | 511cf5687accebe027e8b5181f716c59a8a498dc /source3/selftest | |
parent | a06486bb110d04a90b66a0bca4b1b600ef3c0ebf (diff) | |
download | samba-8fb906a1860452a320c79ac87917a97303729c19.tar.gz |
selftest: Start implementing unit test for nfs4_acls
Existing smbtorture tests set and query ACLs through SMB, only working
with the DACLs in the Security Descriptors, but never check the NFSv4
ACL representation. This patch introduces a unit test to verify the
mapping between between Security Descriptors and NFSv4 ACLs. As the
mapping code queries id mappings, the id mapping cache is first primed
with the mappings used by the tests and those mappings are removed again
during teardown.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14032
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/selftest')
-rwxr-xr-x | source3/selftest/tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py index aff51d67d4a..53ece589d2a 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -427,6 +427,10 @@ if with_pthreadpool: "script/tests/test_libwbclient_threads.sh"), "$DOMAIN", "$DC_USERNAME"]) +plantestsuite("samba3.test_nfs4_acl", "none", + [os.path.join(bindir(), "test_nfs4_acls"), + "$SMB_CONF_PATH"]) + plantestsuite( "samba3.resolvconf", "none", [os.path.join(samba3srcdir, "script/tests/test_resolvconf.sh")]) |