From 5c92560e050309321cbfc2d1825116a2ac91c516 Mon Sep 17 00:00:00 2001 From: Timur Iskhodzhanov Date: Mon, 14 Jul 2014 14:26:35 +0000 Subject: [ASan] Fix a couple of nits in NULL deref tests This is a follow-up to r212807 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@212943 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/asan/TestCases/Windows/null_deref.cc | 4 ++-- test/asan/TestCases/null_deref.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/asan/TestCases/Windows/null_deref.cc b/test/asan/TestCases/Windows/null_deref.cc index 42172109d..202000f59 100644 --- a/test/asan/TestCases/Windows/null_deref.cc +++ b/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/test/asan/TestCases/null_deref.cc b/test/asan/TestCases/null_deref.cc index e80657f27..c6a52bab3 100644 --- a/test/asan/TestCases/null_deref.cc +++ b/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. } -- cgit v1.2.1