[asan] Fix test by removing "The signal is caused" check.

llvm-svn: 300939
This commit is contained in:
Vitaly Buka 2017-04-21 01:16:58 +00:00
parent 2195ec9ad4
commit a232323ff7
1 changed files with 1 additions and 2 deletions

View 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;