nfs4_acls: Add test for merging duplicates when mapping from NFS4 ACL to DACL
authorChristof Schmitt <cs@samba.org>
Wed, 10 Jul 2019 20:14:32 +0000 (13:14 -0700)
committerChristof Schmitt <cs@samba.org>
Tue, 23 Jul 2019 18:27:27 +0000 (18:27 +0000)
commit1a137a2f20c2f159c5feaef230a2b85bb9fb23b5
treef02200a89bf4dab9dbacb88b2cb324ef06f743d6
parent9c88602128592ddad537bf70cbe3c51f0b2cebe5
nfs4_acls: Add test for merging duplicates when mapping from NFS4 ACL to DACL

The previous patch introduced merging of duplicates on the mapping path
from NFS4 ACL entries to DACL entries. Add a testcase to verify the
expected behavior of this codepath.

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>
source3/modules/test_nfs4_acls.c