Skip to content

Commit 622afa6

Browse files
committed
Set CWD on the underlying VFS
1 parent b6afa9a commit 622afa6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/unittests/Support/VirtualFileSystemTest.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2518,6 +2518,7 @@ TEST_F(VFSFromYAMLTest, RelativePaths) {
25182518
SmallString<128> CWD;
25192519
EC = llvm::sys::fs::current_path(CWD);
25202520
ASSERT_FALSE(EC);
2521+
Lower->setCurrentWorkingDirectory(CWD);
25212522

25222523
// Filename at root level without a parent directory.
25232524
IntrusiveRefCntPtr<vfs::FileSystem> FS = getFromYAMLString(

0 commit comments

Comments
 (0)