[all-commits] [llvm/llvm-project] 986afe: [sanitizer] Fix test to tolerate chmod not working...

Teresa Johnson via All-commits all-commits at lists.llvm.org
Sun Feb 13 11:56:26 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 986afe847951a59cd66783e1377b13cec6412972
      https://github.com/llvm/llvm-project/commit/986afe847951a59cd66783e1377b13cec6412972
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2022-02-13 (Sun, 13 Feb 2022)

  Changed paths:
    M compiler-rt/test/sanitizer_common/TestCases/Posix/sanitizer_set_report_path_test.cpp

  Log Message:
  -----------
  [sanitizer] Fix test to tolerate chmod not working as intended

Attempts to fix a bot failure from
634da7a1c61ee8c173e90a841eb1f4ea03caa20b on an Android bot:
https://lab.llvm.org/buildbot#builders/77/builds/14339

It appears that the chmod is not making the directory unwritable as
expected on this system for some reason. Adopt an approach used in
compiler-rt/test/fuzzer/fuzzer-dirs.test for systems with
non-functioning chmod by including illegal characters in directory.




More information about the All-commits mailing list