From 9b8fa878ea8006ac3002d9b65624dc324fdd6368 Mon Sep 17 00:00:00 2001 From: Timur Iskhodzhanov Date: Mon, 14 Jul 2014 14:26:35 +0000 Subject: [PATCH] [ASan] Fix a couple of nits in NULL deref tests This is a follow-up to r212807 llvm-svn: 212943 --- compiler-rt/test/asan/TestCases/Windows/null_deref.cc | 4 ++-- compiler-rt/test/asan/TestCases/null_deref.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler-rt/test/asan/TestCases/Windows/null_deref.cc b/compiler-rt/test/asan/TestCases/Windows/null_deref.cc index 4217210..202000f 100644 --- a/compiler-rt/test/asan/TestCases/Windows/null_deref.cc +++ b/compiler-rt/test/asan/TestCases/Windows/null_deref.cc @@ -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. } diff --git a/compiler-rt/test/asan/TestCases/null_deref.cc b/compiler-rt/test/asan/TestCases/null_deref.cc index e80657f..c6a52ba 100644 --- a/compiler-rt/test/asan/TestCases/null_deref.cc +++ b/compiler-rt/test/asan/TestCases/null_deref.cc @@ -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. } -- 2.7.4