From 9085c6fcd8dcb2dbee6f519e2267f30c3b1cca9a Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Tue, 3 Apr 2018 01:52:12 +0000 Subject: Fix fs::proximate tests on platforms where /net exists. The proximate tests depended on `/net` not being a valid path, however, on OS X it is. Correct the tests to handle this. llvm-svn: 329038 --- .../filesystem/fs.op.funcs/fs.op.proximate/proximate.pass.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libcxx/test/std/experimental') diff --git a/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.proximate/proximate.pass.cpp b/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.proximate/proximate.pass.cpp index 7b526507f0a..24beb69359c 100644 --- a/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.proximate/proximate.pass.cpp +++ b/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.proximate/proximate.pass.cpp @@ -79,10 +79,10 @@ TEST_CASE(basic_test) { {"a", "/", relative_cwd / "a"}, {"a/b", "/", relative_cwd / "a/b"}, {"a", "/net", ".." / relative_cwd / "a"}, - {"//net/", "//net", "/net/"}, - {"//net", "//net/", ".."}, - {"//net", "//net", "."}, - {"//net/", "//net/", "."}, + {"//foo/", "//foo", "/foo/"}, + {"//foo", "//foo/", ".."}, + {"//foo", "//foo", "."}, + {"//foo/", "//foo/", "."}, {"//base", "a", dot_dot_to_root / "../base"}, {"a", "a", "."}, {"a/b", "a/b", "."}, -- cgit v1.2.3