[Lldb-commits] [lldb] r332556 - Revert 332511 after reverting llvm revision 332508.
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Wed May 16 16:32:45 PDT 2018
Author: gclayton
Date: Wed May 16 16:32:45 2018
New Revision: 332556
URL: http://llvm.org/viewvc/llvm-project?rev=332556&view=rev
Log:
Revert 332511 after reverting llvm revision 332508.
Modified:
lldb/trunk/unittests/Utility/FileSpecTest.cpp
Modified: lldb/trunk/unittests/Utility/FileSpecTest.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/Utility/FileSpecTest.cpp?rev=332556&r1=332555&r2=332556&view=diff
==============================================================================
--- lldb/trunk/unittests/Utility/FileSpecTest.cpp (original)
+++ lldb/trunk/unittests/Utility/FileSpecTest.cpp Wed May 16 16:32:45 2018
@@ -199,9 +199,9 @@ TEST(FileSpecTest, GetNormalizedPath) {
{"/..", "/"},
{"/.", "/"},
{"..", ".."},
- {".", "."},
+ {".", ""},
{"../..", "../.."},
- {"foo/..", "."},
+ {"foo/..", ""},
{"foo/../bar", "bar"},
{"../foo/..", ".."},
{"./foo", "foo"},
@@ -230,11 +230,11 @@ TEST(FileSpecTest, GetNormalizedPath) {
{R"(\..)", R"(\..)"},
// {R"(c:..)", R"(c:..)"},
{R"(..)", R"(..)"},
- {R"(.)", R"(.)"},
+ {R"(.)", R"()"},
// TODO: fix llvm::sys::path::remove_dots() to return "c:\" below.
{R"(c:..\..)", R"(c:\..\..)"},
{R"(..\..)", R"(..\..)"},
- {R"(foo\..)", R"(.)"},
+ {R"(foo\..)", R"()"},
{R"(foo\..\bar)", R"(bar)"},
{R"(..\foo\..)", R"(..)"},
{R"(.\foo)", R"(foo)"},
More information about the lldb-commits
mailing list