summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/test/asan/TestCases/Posix/strchr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/asan/TestCases/Posix/strchr.c b/compiler-rt/test/asan/TestCases/Posix/strchr.c
index 76d96da47c0..a986cb16fad 100644
--- a/compiler-rt/test/asan/TestCases/Posix/strchr.c
+++ b/compiler-rt/test/asan/TestCases/Posix/strchr.c
@@ -28,7 +28,7 @@ int main(int argc, char **argv) {
return 1;
char *r = strchr(s, 'x');
// CHECK: AddressSanitizer: {{SEGV|BUS}} on unknown address
- // CHECK: The signal is caused by a READ memory access
+ // CHECK: The signal is caused by a {{READ|UNKNOWN}} memory access
// CHECK: strchr.c:[[@LINE-3]]
assert(r == p);
OpenPOWER on IntegriCloud