[libcxx-commits] [PATCH] D97089: [libcxx] [test] Call create_directory_symlink when linking directories
Martin Storsjö via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Feb 20 14:26:16 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3d6ca4b8dcee: [libcxx] [test] Call create_directory_symlink when linking directories (authored by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97089/new/
https://reviews.llvm.org/D97089
Files:
libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory.pass.cpp
libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory_with_attributes.pass.cpp
Index: libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory_with_attributes.pass.cpp
===================================================================
--- libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory_with_attributes.pass.cpp
+++ libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory_with_attributes.pass.cpp
@@ -147,7 +147,7 @@
TEST_CASE(dest_is_symlink_to_dir) {
scoped_test_env env;
const path dir = env.create_dir("dir");
- const path sym = env.create_symlink(dir, "sym_name");
+ const path sym = env.create_directory_symlink(dir, "sym_name");
const path attr_dir = env.create_dir("attr_dir");
{
std::error_code ec = GetTestEC();
Index: libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory.pass.cpp
===================================================================
--- libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory.pass.cpp
+++ libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory.pass.cpp
@@ -118,7 +118,7 @@
{
scoped_test_env env;
const path dir = env.create_dir("dir");
- const path sym = env.create_symlink(dir, "sym_name");
+ const path sym = env.create_directory_symlink(dir, "sym_name");
std::error_code ec = GetTestEC();
TEST_CHECK(create_directory(sym, ec) == false);
TEST_CHECK(!ec);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97089.325248.patch
Type: text/x-patch
Size: 1507 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210220/f750ed0d/attachment.bin>
More information about the libcxx-commits
mailing list