From: Vitaly Buka Date: Fri, 21 Apr 2017 01:16:58 +0000 (+0000) Subject: [asan] Fix test by removing "The signal is caused" check. X-Git-Tag: llvmorg-5.0.0-rc1~7084 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a232323ff7c17665ca4a354a82bb13baa6a64770;p=platform%2Fupstream%2Fllvm.git [asan] Fix test by removing "The signal is caused" check. llvm-svn: 300939 --- diff --git a/compiler-rt/test/asan/TestCases/Posix/strchr.c b/compiler-rt/test/asan/TestCases/Posix/strchr.c index a986cb1..d5683d5 100644 --- a/compiler-rt/test/asan/TestCases/Posix/strchr.c +++ b/compiler-rt/test/asan/TestCases/Posix/strchr.c @@ -28,8 +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|UNKNOWN}} memory access - // CHECK: strchr.c:[[@LINE-3]] + // CHECK: strchr.c:[[@LINE-2]] assert(r == p); return 0;