summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/input.output
diff options
context:
space:
mode:
authorMichal Gorny <mgorny@gentoo.org>2018-12-12 20:28:52 +0000
committerMichal Gorny <mgorny@gentoo.org>2018-12-12 20:28:52 +0000
commitc22e62d9a7fbaca8ad17071159e70aae7147ee08 (patch)
treef35e098407209767bc24c0ce63d50534ac2fa2b3 /libcxx/test/std/input.output
parente8e635ff5e11f521abb56d8c1ff1f624dc13076e (diff)
downloadbcm5719-llvm-c22e62d9a7fbaca8ad17071159e70aae7147ee08.tar.gz
bcm5719-llvm-c22e62d9a7fbaca8ad17071159e70aae7147ee08.zip
[test] [filesystems] NetBSD can do symlink permissions too
llvm-svn: 348968
Diffstat (limited to 'libcxx/test/std/input.output')
-rw-r--r--libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp
index cbe2b2d09fb..b5fb838dd86 100644
--- a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp
+++ b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp
@@ -159,7 +159,7 @@ TEST_CASE(test_no_resolve_symlink_on_symlink)
{perms::owner_all, perms::group_all, perm_options::remove},
};
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
// error code and the expected permissions.
const auto expected_link_perms = TC.expected;
OpenPOWER on IntegriCloud