[PATCH] D120691: Testing: Make TempFile safe to move; test Temp{Dir,File,Link}
Duncan P. N. Exon Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 28 18:43:43 PST 2022
dexonsmith updated this revision to Diff 411942.
dexonsmith added a comment.
Fix unit test; noticed by inspection that the call to `TempLink`'s constructor wasn't using `D.path()`, so this was dropping a symlink wherever the CWD of the test was.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120691/new/
https://reviews.llvm.org/D120691
Files:
llvm/include/llvm/Testing/Support/SupportHelpers.h
llvm/unittests/CMakeLists.txt
llvm/unittests/Testing/CMakeLists.txt
llvm/unittests/Testing/Support/CMakeLists.txt
llvm/unittests/Testing/Support/TempPathTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120691.411942.patch
Type: text/x-patch
Size: 4586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220301/c75e9d0d/attachment.bin>
More information about the llvm-commits
mailing list