[Lldb-commits] [lldb] r285977 - Added a couple more odd dot patterns that we got out
Jim Ingham via lldb-commits
lldb-commits at lists.llvm.org
Thu Nov 3 18:48:00 PDT 2016
Author: jingham
Date: Thu Nov 3 20:47:59 2016
New Revision: 285977
URL: http://llvm.org/viewvc/llvm-project?rev=285977&view=rev
Log:
Added a couple more odd dot patterns that we got out
of clang.
Modified:
lldb/trunk/unittests/Host/FileSpecTest.cpp
Modified: lldb/trunk/unittests/Host/FileSpecTest.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/Host/FileSpecTest.cpp?rev=285977&r1=285976&r2=285977&view=diff
==============================================================================
--- lldb/trunk/unittests/Host/FileSpecTest.cpp (original)
+++ lldb/trunk/unittests/Host/FileSpecTest.cpp Thu Nov 3 20:47:59 2016
@@ -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/..", "/"},
More information about the lldb-commits
mailing list