[compiler-rt] af90e19 - [dfsan] Use non-existent file in test for real
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 20 17:42:12 PDT 2024
Author: Vitaly Buka
Date: 2024-03-20T17:41:12-07:00
New Revision: af90e1975c15edc9195f1a1a87269bed4c83887a
URL: https://github.com/llvm/llvm-project/commit/af90e1975c15edc9195f1a1a87269bed4c83887a
DIFF: https://github.com/llvm/llvm-project/commit/af90e1975c15edc9195f1a1a87269bed4c83887a.diff
LOG: [dfsan] Use non-existent file in test for real
Added:
Modified:
compiler-rt/test/dfsan/custom.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/dfsan/custom.cpp b/compiler-rt/test/dfsan/custom.cpp
index 4bb818813cf7c8..f544e481b72611 100644
--- a/compiler-rt/test/dfsan/custom.cpp
+++ b/compiler-rt/test/dfsan/custom.cpp
@@ -175,7 +175,7 @@ void test_stat() {
s.st_dev = i;
SAVE_ORIGINS(s)
- ret = stat("/nonexistent", &s);
+ ret = stat("/nonexistent_581cb021aba7", &s);
assert(-1 == ret);
ASSERT_ZERO_LABEL(ret);
ASSERT_LABEL(s.st_dev, i_label);
More information about the llvm-commits
mailing list