nfs4_acls: Add test for merging duplicates when mapping from NFS4 ACL to DACL
commit77052fbc65a375dc5a3dda4ac9d212b808ca802f
authorChristof Schmitt <cs@samba.org>
Wed, 10 Jul 2019 20:14:32 +0000 (10 13:14 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 26 Aug 2019 07:06:18 +0000 (26 07:06 +0000)
treec8a22757476b9a623f643cb2969a122ce3247f36
parent78d426fb0d4f9332e9c0a084993b5f2f5e0cdc40
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