[libcxx] r348968 - [test] [filesystems] NetBSD can do symlink permissions too

Michal Gorny mgorny at gentoo.org
Wed Dec 12 12:28:53 PST 2018


Author: mgorny
Date: Wed Dec 12 12:28:52 2018
New Revision: 348968

URL: http://llvm.org/viewvc/llvm-project?rev=348968&view=rev
Log:
[test] [filesystems] NetBSD can do symlink permissions too

Modified:
    libcxx/trunk/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp

Modified: libcxx/trunk/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp?rev=348968&r1=348967&r2=348968&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp Wed Dec 12 12:28:52 2018
@@ -159,7 +159,7 @@ TEST_CASE(test_no_resolve_symlink_on_sym
         {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;




More information about the libcxx-commits mailing list