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 @@ -109,8 +109,10 @@ {static_env.SymlinkToFile, file_type::regular}, {static_env.Dir, file_type::directory}, {static_env.SymlinkToDir, file_type::directory}, - // Block files tested elsewhere + // file_type::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 @@ -118,8 +118,10 @@ {static_env.SymlinkToFile, file_type::symlink}, {static_env.Dir, file_type::directory}, {static_env.SymlinkToDir, file_type::symlink}, - // Block files tested elsewhere + // file_type::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