forked from OSchip/llvm-project
unittests/Support/PathV2: remove(3) requires a terminated string.
llvm-svn: 120803
This commit is contained in:
parent
2e3bceafd9
commit
23e6bdf1ae
|
@ -128,11 +128,10 @@ TEST(Support, Path) {
|
|||
EXPECT_TRUE(TempFileExists);
|
||||
|
||||
::close(FileDescriptor);
|
||||
::remove(TempPath.begin());
|
||||
::remove(TempPath.c_str());
|
||||
|
||||
ASSERT_FALSE(fs::exists(Twine(TempPath), TempFileExists));
|
||||
// FIXME: This is returning true on some systems...
|
||||
// EXPECT_FALSE(TempFileExists);
|
||||
EXPECT_FALSE(TempFileExists);
|
||||
}
|
||||
|
||||
} // anonymous namespace
|
||||
|
|
Loading…
Reference in New Issue