diff options
Diffstat (limited to 'test/asan/TestCases/suppressions-library.cc')
-rw-r--r-- | test/asan/TestCases/suppressions-library.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/asan/TestCases/suppressions-library.cc b/test/asan/TestCases/suppressions-library.cc index 52fd609105395..ad6e09279b3dc 100644 --- a/test/asan/TestCases/suppressions-library.cc +++ b/test/asan/TestCases/suppressions-library.cc @@ -4,8 +4,11 @@ // Check that without suppressions, we catch the issue. // RUN: not %run %t 2>&1 | FileCheck --check-prefix=CHECK-CRASH %s +// FIXME: Remove usage of backticks around basename below. +// REQUIRES: shell + // RUN: echo "interceptor_via_lib:"`basename %dynamiclib` > %t.supp -// RUN: env ASAN_OPTIONS="$ASAN_OPTIONS:suppressions='%t.supp'" %run %t 2>&1 | FileCheck --check-prefix=CHECK-IGNORE %s +// RUN: %env_asan_opts=suppressions='"%t.supp"' %run %t 2>&1 | FileCheck --check-prefix=CHECK-IGNORE %s // XFAIL: android |