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)
committerKarolin Seeger <kseeger@samba.org>
Mon, 26 Aug 2019 10:23:29 +0000 (10:23 +0000)
commitc5d4691183fc64c38462cff9b9d715e8eea2ff04
tree55fe9a33b79c8c699ae4fa0dbc603590a96fbc6a
parent1f10af9fb98c4e6c8565fb46161acd643c42acee
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>
(cherry picked from commit 1a137a2f20c2f159c5feaef230a2b85bb9fb23b5)
source3/modules/test_nfs4_acls.c