summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/test/test_acl_freebsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libarchive/test/test_acl_freebsd.c')
-rw-r--r--lib/libarchive/test/test_acl_freebsd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libarchive/test/test_acl_freebsd.c b/lib/libarchive/test/test_acl_freebsd.c
index 88efb19..fbb744d 100644
--- a/lib/libarchive/test/test_acl_freebsd.c
+++ b/lib/libarchive/test/test_acl_freebsd.c
@@ -220,6 +220,11 @@ DEFINE_TEST(test_acl_freebsd)
skipping("ACL tests require that ACL support be enabled on the filesystem");
return;
}
+ if (n != 0 && errno == EINVAL) {
+ close(fd);
+ skipping("POSIX.1e ACL tests require that POSIX.1e ACL support be enabled on the filesystem");
+ return;
+ }
failure("acl_set_fd(): errno = %d (%s)",
errno, strerror(errno));
assertEqualInt(0, n);
OpenPOWER on IntegriCloud