[all-commits] [llvm/llvm-project] 58c7bf: Update LLDB filespec tests for remove_dots change

Reid Kleckner via All-commits all-commits at lists.llvm.org
Mon May 4 17:27:33 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 58c7bf246ec4056ca40ea37f16cb3314161863f7
      https://github.com/llvm/llvm-project/commit/58c7bf246ec4056ca40ea37f16cb3314161863f7
  Author: Reid Kleckner <rnk at google.com>
  Date:   2020-05-04 (Mon, 04 May 2020)

  Changed paths:
    M lldb/unittests/Utility/FileSpecTest.cpp

  Log Message:
  -----------
  Update LLDB filespec tests for remove_dots change

It looks like the new implementation is correct, since there were TODOs
here about getting the new behavior.

I am not sure if "C:..\.." should become "C:" or "C:\", though. The new
output doesn't precisely match the TODO message, but it seems
appropriate given the specification of remove_dots and how .. traversals
work at the root directory.




More information about the All-commits mailing list