Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Umer Saleem <[email protected]>
  • Loading branch information
usaleem-ix committed Jan 8, 2025
1 parent 98df705 commit c4fc1ca
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions lib/libzfsacl/zfsacl/libzfsacl_impl_freebsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,11 @@ boolean_t
zfsace_set_permset(zfsacl_entry_t _entry, zfsace_permset_t _permset)
{
acl_entry_t entry = BSDACE(_entry);
#if __FreeBSD_version < 1500000
int permset = 0;
#else
unsigned int permset = 0;
#endif
int i, err;

for (i = 0; i < ARRAY_SIZE(bsdperm2nfs4perm); i++) {
Expand Down
8 changes: 4 additions & 4 deletions tests/runfiles/common.run
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ failsafe = callbacks/zfs_failsafe
outputdir = /var/tmp/test_results
tags = ['functional']

[tests/functional/acl/nfsv4]
tests = ['nfsacl_001']
tags = ['functional', 'acl', 'nfsv4']

[tests/functional/acl/off]
tests = ['dosmode', 'posixmode']
tags = ['functional', 'acl']

[tests/functional/acl/nfsv4]
tests = ['nfsacl_001']
tags = ['functional', 'acl', 'nfsv4']

[tests/functional/alloc_class]
tests = ['alloc_class_001_pos', 'alloc_class_002_neg', 'alloc_class_003_pos',
'alloc_class_004_pos', 'alloc_class_005_pos', 'alloc_class_006_pos',
Expand Down
8 changes: 4 additions & 4 deletions tests/runfiles/sanity.run
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ failsafe = callbacks/zfs_failsafe
outputdir = /var/tmp/test_results
tags = ['functional']

[tests/functional/acl/nfsv4]
tests = ['nfsacl_001']
tags = ['functional', 'acl', 'nfsv4']

[tests/functional/acl/off]
tests = ['posixmode']
tags = ['functional', 'acl']

[tests/functional/acl/nfsv4]
tests = ['nfsacl_001']
tags = ['functional', 'acl', 'nfsv4']

[tests/functional/alloc_class]
tests = ['alloc_class_003_pos', 'alloc_class_004_pos', 'alloc_class_005_pos',
'alloc_class_006_pos', 'alloc_class_008_pos', 'alloc_class_010_pos',
Expand Down

0 comments on commit c4fc1ca

Please sign in to comment.