diff --git a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status/status.pass.cpp b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status/status.pass.cpp --- a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status/status.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status/status.pass.cpp @@ -114,7 +114,9 @@ {static_env.Dir, file_type::directory}, {static_env.SymlinkToDir, file_type::directory}, // Block files tested elsewhere +#ifndef _WIN32 {static_env.CharFile, file_type::character}, +#endif #if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(_WIN32) // No support for domain sockets {env.create_socket("socket"), file_type::socket}, #endif diff --git a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp --- a/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp +++ b/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp @@ -123,7 +123,9 @@ {static_env.Dir, file_type::directory}, {static_env.SymlinkToDir, file_type::symlink}, // Block files tested elsewhere +#ifndef _WIN32 {static_env.CharFile, file_type::character}, +#endif #if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(_WIN32) // No support for domain sockets {env.create_socket("socket"), file_type::socket}, #endif