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 index b5b1a8cca1985..30dea61405883 100644 --- 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 @@ 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"); 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 index 83f9c8d274440..cd436d9c6fb14 100644 --- 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_unexisting) { 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();