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
Loading
Please sign in to comment