diff --git a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory.pass.cpp b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory.pass.cpp --- a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory.pass.cpp +++ b/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); diff --git a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory_with_attributes.pass.cpp b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory_with_attributes.pass.cpp --- a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory_with_attributes.pass.cpp +++ b/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();