[test] [filesystems] NetBSD can do symlink permissions too
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@348968 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -159,7 +159,7 @@ TEST_CASE(test_no_resolve_symlink_on_symlink)
|
|||||||
{perms::owner_all, perms::group_all, perm_options::remove},
|
{perms::owner_all, perms::group_all, perm_options::remove},
|
||||||
};
|
};
|
||||||
for (auto const& TC : cases) {
|
for (auto const& TC : cases) {
|
||||||
#if defined(__APPLE__) || defined(__FreeBSD__)
|
#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__NetBSD__)
|
||||||
// On OS X symlink permissions are supported. We should get an empty
|
// On OS X symlink permissions are supported. We should get an empty
|
||||||
// error code and the expected permissions.
|
// error code and the expected permissions.
|
||||||
const auto expected_link_perms = TC.expected;
|
const auto expected_link_perms = TC.expected;
|
||||||
|
|||||||
Reference in New Issue
Block a user