[libcxx-commits] [PATCH] D74348: [libcxx] Don't assume cwd name in std::filesystem tests
Sergej Jaskiewicz via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Feb 10 11:32:26 PST 2020
broadwaylamb updated this revision to Diff 243642.
broadwaylamb added a comment.
Replace `cwd.filename()` with `curdir`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74348/new/
https://reviews.llvm.org/D74348
Files:
libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.proximate/proximate.pass.cpp
Index: libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.proximate/proximate.pass.cpp
===================================================================
--- libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.proximate/proximate.pass.cpp
+++ libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.proximate/proximate.pass.cpp
@@ -71,7 +71,7 @@
{cwd, "a", ".."},
{parent_cwd, "a", "../.."},
{"a", cwd, "a"},
- {"a", parent_cwd, "fs.op.proximate/a"},
+ {"a", parent_cwd, curdir / "a"},
{"/", "a", dot_dot_to_root / ".."},
{"/", "a/b", dot_dot_to_root / "../.."},
{"/", "a/b/", dot_dot_to_root / "../.."},
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74348.243642.patch
Type: text/x-patch
Size: 676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200210/8b7fee95/attachment.bin>
More information about the libcxx-commits
mailing list