summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/experimental/filesystem
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/experimental/filesystem')
-rw-r--r--libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.permissions/permissions.pass.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.permissions/permissions.pass.cpp b/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.permissions/permissions.pass.cpp
index 74977c4eaca..7b3013a4d9a 100644
--- a/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.permissions/permissions.pass.cpp
+++ b/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.permissions/permissions.pass.cpp
@@ -89,20 +89,20 @@ TEST_CASE(basic_permissions_test)
perms expected;
} cases[] = {
// test file
+ {file, perms::none, perms::none},
{file, perms::owner_all, perms::owner_all},
{file, perms::group_all | AP, perms::owner_all | perms::group_all},
{file, perms::group_all | RP, perms::owner_all},
- {file, perms::none, perms::none},
// test directory
+ {dir, perms::none, perms::none},
{dir, perms::owner_all, perms::owner_all},
{dir, perms::group_all | AP, perms::owner_all | perms::group_all},
{dir, perms::group_all | RP, perms::owner_all},
- {dir, perms::none, perms::none},
// test symlink with resolve symlinks on symlink
+ {sym, perms::none | RS, perms::none},
{sym, perms::owner_all | RS, perms::owner_all},
{sym, perms::group_all | AP | RS, perms::owner_all | perms::group_all},
- {sym, perms::group_all | RP | RS, perms::owner_all},
- {sym, perms::none | RS, perms::none}
+ {sym, perms::group_all | RP | RS, perms::owner_all}
};
for (auto const& TC : cases) {
TEST_CHECK(status(TC.p).permissions() != TC.expected);
OpenPOWER on IntegriCloud