projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ada8544
)
Added a couple more odd dot patterns that we got out
author
Jim Ingham
<jingham@apple.com>
Fri, 4 Nov 2016 01:47:59 +0000
(
01:47
+0000)
committer
Jim Ingham
<jingham@apple.com>
Fri, 4 Nov 2016 01:47:59 +0000
(
01:47
+0000)
of clang.
llvm-svn: 285977
lldb/unittests/Host/FileSpecTest.cpp
patch
|
blob
|
history
diff --git
a/lldb/unittests/Host/FileSpecTest.cpp
b/lldb/unittests/Host/FileSpecTest.cpp
index 6668da5ed10951a5620871e4d282a0c00c5bc522..843dcb8b1859c94eb39cc5449b551f0b06f60c07 100644
(file)
--- a/
lldb/unittests/Host/FileSpecTest.cpp
+++ b/
lldb/unittests/Host/FileSpecTest.cpp
@@
-200,6
+200,8
@@
TEST(FileSpecTest, EqualDotsPosixRoot) {
TEST(FileSpecTest, GetNormalizedPath) {
std::pair<const char *, const char *> posix_tests[] = {
+ {"/foo/.././bar", "/bar"},
+ {"/foo/./../bar", "/bar"},
{"/foo/../bar", "/bar"},
{"/foo/./bar", "/foo/bar"},
{"/foo/..", "/"},