[all-commits] [llvm/llvm-project] 3d595e: [Debuginfod] Fix debuginfod unit test when $HOME i...

Noah Shutty via All-commits all-commits at lists.llvm.org
Wed Dec 15 14:21:10 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d595eccc7d5b20d9f202492bf48394ac7c078c6
      https://github.com/llvm/llvm-project/commit/3d595eccc7d5b20d9f202492bf48394ac7c078c6
  Author: Noah Shutty <shutty at google.com>
  Date:   2021-12-15 (Wed, 15 Dec 2021)

  Changed paths:
    M llvm/unittests/Debuginfod/DebuginfodTests.cpp

  Log Message:
  -----------
  [Debuginfod] Fix debuginfod unit test when $HOME is not writable.

The directory returned from `cache_directory` may not be writable if the unit tests are run with limited permissions (e.g. if $HOME is not writable).
This fixes a unit test of the debuginfod client to set the cache path to the system temporary directory to avoid this issue.

Reviewed By: estewart08

Differential Revision: https://reviews.llvm.org/D115813




More information about the All-commits mailing list