diff options
author | Eric Fiselier <eric@efcs.ca> | 2018-04-03 01:52:12 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2018-04-03 01:52:12 +0000 |
commit | 9085c6fcd8dcb2dbee6f519e2267f30c3b1cca9a (patch) | |
tree | 83990a6a3e9c618cab2449a66d8eff1934bb1bfc /libcxx/test/std/experimental | |
parent | 061354b586bb03b9869565334be88d7997b36d95 (diff) | |
download | bcm5719-llvm-9085c6fcd8dcb2dbee6f519e2267f30c3b1cca9a.tar.gz bcm5719-llvm-9085c6fcd8dcb2dbee6f519e2267f30c3b1cca9a.zip |
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
Diffstat (limited to 'libcxx/test/std/experimental')
-rw-r--r-- | libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.proximate/proximate.pass.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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", "."}, |