[all-commits] [llvm/llvm-project] 910aee: sanitizer_common: fix up onprint.cpp test
Dmitry Vyukov via All-commits
all-commits at lists.llvm.org
Wed Oct 27 09:17:28 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 910aeed77e92dd313cb3f7928803d112154ae5aa
https://github.com/llvm/llvm-project/commit/910aeed77e92dd313cb3f7928803d112154ae5aa
Author: Dmitry Vyukov <dvyukov at google.com>
Date: 2021-10-27 (Wed, 27 Oct 2021)
Changed paths:
M compiler-rt/test/sanitizer_common/TestCases/onprint.cpp
Log Message:
-----------
sanitizer_common: fix up onprint.cpp test
Commit D112602 ("sanitizer_common: tighten on_print hook test")
changed fopen to open in this test. fopen created the file
if if does not exist, but open does not. This was unnoticed
during local testing because lit is not hermetic and reuses
files from previous runs, but it started failing on bots.
Fix the open call.
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D112630
More information about the All-commits
mailing list