From 44514860f42b72cb32522c1a7e7824c30ba10162 Mon Sep 17 00:00:00 2001 From: Diana Picus Date: Thu, 18 May 2017 09:12:27 +0000 Subject: [PATCH] Fixup r303324 - temporary disable stndup interceptor, due to r302781 being buggy r303324 missed one of the tests added by r302781. This commit applies the same fix as r303324 to the missed test (strndup.cc). llvm-svn: 303338 --- compiler-rt/test/msan/strndup.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/compiler-rt/test/msan/strndup.cc b/compiler-rt/test/msan/strndup.cc index d4b9af1a9a6e..4b133ae4940d 100644 --- a/compiler-rt/test/msan/strndup.cc +++ b/compiler-rt/test/msan/strndup.cc @@ -1,8 +1,9 @@ -// RUN: %clangxx_msan %s -o %t && not %run %t 2>&1 | FileCheck --check-prefix=ON %s -// RUN: %clangxx_msan %s -o %t && MSAN_OPTIONS=intercept_strndup=0 %run %t 2>&1 | FileCheck --check-prefix=OFF --allow-empty %s +// RUN: echo DISABLED +// DISABLED: %clangxx_msan %s -o %t && not %run %t 2>&1 | FileCheck --check-prefix=ON %s +// DISABLED: %clangxx_msan %s -o %t && MSAN_OPTIONS=intercept_strndup=0 %run %t 2>&1 | FileCheck --check-prefix=OFF --allow-empty %s // When built as C on Linux, strndup is transformed to __strndup. -// RUN: %clangxx_msan -O3 -xc %s -o %t && not %run %t 2>&1 | FileCheck --check-prefix=ON %s +// DISABLED: %clangxx_msan -O3 -xc %s -o %t && not %run %t 2>&1 | FileCheck --check-prefix=ON %s // UNSUPPORTED: win32