projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
481d402
)
unittests/Support/PathV2: remove(3) requires a terminated string.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Fri, 3 Dec 2010 12:33:32 +0000
(12:33 +0000)
committer
Benjamin Kramer
<benny.kra@googlemail.com>
Fri, 3 Dec 2010 12:33:32 +0000
(12:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120803
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/Support/Path.cpp
patch
|
blob
|
history
diff --git
a/unittests/Support/Path.cpp
b/unittests/Support/Path.cpp
index 06e8ffd18451d1cd3bc171f06155ffb916d0d147..d19bf4a2efc8ff5f94704bfeff2f5b77f6e0c86b 100644
(file)
--- a/
unittests/Support/Path.cpp
+++ b/
unittests/Support/Path.cpp
@@
-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