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/..", "/"}, _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits