[asan] Fix test by removing "The signal is caused" check.
authorVitaly Buka <vitalybuka@google.com>
Fri, 21 Apr 2017 01:16:58 +0000 (01:16 +0000)
committerVitaly Buka <vitalybuka@google.com>
Fri, 21 Apr 2017 01:16:58 +0000 (01:16 +0000)
llvm-svn: 300939

compiler-rt/test/asan/TestCases/Posix/strchr.c

index a986cb1..d5683d5 100644 (file)
@@ -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;