Index: libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp =================================================================== --- libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp +++ libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp @@ -83,7 +83,9 @@ std::errc expected_err; } TestCases[] = { {env.create_dir("dir"), std::errc::is_a_directory}, +#ifndef _WIN32 {env.create_fifo("fifo"), std::errc::not_supported}, +#endif {env.create_symlink("dir", "sym"), std::errc::is_a_directory}}; for (auto const& TC : TestCases) { Index: libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_type_obs.pass.cpp =================================================================== --- libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_type_obs.pass.cpp +++ libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_type_obs.pass.cpp @@ -65,9 +65,15 @@ scoped_test_env env; path f = env.create_file("foo", 42); path d = env.create_dir("dir"); +#ifndef _WIN32 path fifo = env.create_fifo("fifo"); +#endif path hl = env.create_hardlink("foo", "hl"); - for (auto p : {hl, f, d, fifo}) { + for (auto p : {hl, f, d, +#ifndef _WIN32 + fifo +#endif + }) { directory_entry e(p); file_status st = status(p); file_status sym_st = symlink_status(p); @@ -95,9 +101,15 @@ scoped_test_env env; path f = env.create_file("foo", 42); path d = env.create_dir("dir"); +#ifndef _WIN32 path fifo = env.create_fifo("fifo"); +#endif path hl = env.create_hardlink("foo", "hl"); - for (auto p : {hl, f, d, fifo}) { + for (auto p : {hl, f, d, +#ifndef _WIN32 + fifo +#endif + }) { directory_entry e(p); std::error_code status_ec = GetTestEC(); std::error_code sym_status_ec = GetTestEC(1); Index: libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp =================================================================== --- libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp +++ libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp @@ -84,12 +84,20 @@ scoped_test_env env; const path dir = env.create_dir("dir"); const path dir2 = env.create_dir("dir/dir2"); +#ifndef _WIN32 const path fifo = env.create_fifo("dir/fifo"); const path sym_to_fifo = env.create_symlink("dir/fifo", "dir/sym"); +#endif const perms old_perms = status(dir).permissions(); - for (auto p : {dir2, fifo, sym_to_fifo}) { + for (auto p : { + dir2, +#ifndef _WIN32 + fifo, + sym_to_fifo +#endif + }) { permissions(dir, old_perms); std::error_code dummy_ec = GetTestEC(); directory_entry ent(p, dummy_ec); Index: libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/copy.pass.cpp =================================================================== --- libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/copy.pass.cpp +++ libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/copy.pass.cpp @@ -67,8 +67,10 @@ scoped_test_env env; const path file = env.create_file("file1", 42); const path dir = env.create_dir("dir"); +#ifndef _WIN32 const path fifo = env.create_fifo("fifo"); TEST_REQUIRE(is_other(fifo)); +#endif const auto test_ec = GetTestEC(); @@ -96,6 +98,7 @@ TEST_REQUIRE(ec != test_ec); TEST_CHECK(checkThrow(dir, file, ec)); } +#ifndef _WIN32 { // is_other(from) std::error_code ec = test_ec; fs::copy(fifo, dir, ec); @@ -110,6 +113,7 @@ TEST_REQUIRE(ec != test_ec); TEST_CHECK(checkThrow(file, fifo, ec)); } +#endif } TEST_CASE(from_is_symlink) Index: libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file.pass.cpp =================================================================== --- libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file.pass.cpp +++ libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file.pass.cpp @@ -53,7 +53,9 @@ scoped_test_env env; const path file = env.create_file("file1", 42); const path file2 = env.create_file("file2", 55); +#ifndef _WIN32 const path non_regular_file = env.create_fifo("non_reg"); +#endif const path dne = env.make_env_path("dne"); { // exists(to) && equivalent(to, from) @@ -75,6 +77,7 @@ } } +#ifndef _WIN32 TEST_CASE(non_regular_file_test) { scoped_test_env env; const path fifo = env.create_fifo("fifo"); @@ -96,6 +99,7 @@ } } +#endif TEST_CASE(test_attributes_get_copied) { scoped_test_env env; Index: libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.equivalent/equivalent.pass.cpp =================================================================== --- libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.equivalent/equivalent.pass.cpp +++ libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.equivalent/equivalent.pass.cpp @@ -97,6 +97,7 @@ TEST_CHECK(equivalent(hl1, hl2)); } +#ifndef _WIN32 TEST_CASE(equivalent_is_other_succeeds) { scoped_test_env env; path const file = env.create_file("file", 42); @@ -109,5 +110,6 @@ TEST_CHECK(!equivalent(fifo1, fifo2)); TEST_CHECK(equivalent(fifo1, fifo1)); } +#endif TEST_SUITE_END() Index: libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_empty/is_empty.pass.cpp =================================================================== --- libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_empty/is_empty.pass.cpp +++ libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_empty/is_empty.pass.cpp @@ -95,6 +95,7 @@ } +#ifndef _WIN32 TEST_CASE(test_fifo_fails) { scoped_test_env env; @@ -107,5 +108,6 @@ TEST_CHECK_THROW(filesystem_error, is_empty(fifo)); } +#endif TEST_SUITE_END() Index: libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status/status.pass.cpp =================================================================== --- libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status/status.pass.cpp +++ libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status/status.pass.cpp @@ -118,7 +118,9 @@ #if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(_WIN32) // No support for domain sockets {env.create_socket("socket"), file_type::socket}, #endif +#ifndef _WIN32 {env.create_fifo("fifo"), file_type::fifo} +#endif }; for (const auto& TC : cases) { // test non-throwing case Index: libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp =================================================================== --- libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp +++ libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp @@ -126,7 +126,9 @@ #if !defined(__APPLE__) && !defined(__FreeBSD__) && !defined(_WIN32) // No support for domain sockets {env.create_socket("socket"), file_type::socket}, #endif +#ifndef _WIN32 {env.create_fifo("fifo"), file_type::fifo} +#endif }; for (const auto& TC : cases) { // test non-throwing case