[ASan] Fix a couple of nits in NULL deref tests
authorTimur Iskhodzhanov <timurrrr@google.com>
Mon, 14 Jul 2014 14:26:35 +0000 (14:26 +0000)
committerTimur Iskhodzhanov <timurrrr@google.com>
Mon, 14 Jul 2014 14:26:35 +0000 (14:26 +0000)
This is a follow-up to r212807

llvm-svn: 212943

compiler-rt/test/asan/TestCases/Windows/null_deref.cc
compiler-rt/test/asan/TestCases/null_deref.cc

index 4217210..202000f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clangxx_asan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK
+// RUN: %clangxx_asan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s
 // FIXME: merge this with the common null_deref test when we can run common
 // tests on Windows.
 
@@ -11,5 +11,5 @@ static void NullDeref(int *ptr) {
 int main() {
   NullDeref((int*)0);
   // CHECK: {{    #1 0x.* in main.*null_deref.cc:}}[[@LINE-1]]
-  // CHECK: {{AddressSanitizer can not provide additional info.}}
+  // CHECK: AddressSanitizer can not provide additional info.
 }
index e80657f..c6a52ba 100644 (file)
@@ -15,5 +15,5 @@ static void NullDeref(int *ptr) {
 int main() {
   NullDeref((int*)0);
   // CHECK: {{    #1 0x.* in main.*null_deref.cc:}}[[@LINE-1]]
-  // CHECK: {{AddressSanitizer can not provide additional info.}}
+  // CHECK: AddressSanitizer can not provide additional info.
 }