diff options
Diffstat (limited to 'test/asan/TestCases/verbose-log-path_test.cc')
-rw-r--r-- | test/asan/TestCases/verbose-log-path_test.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/asan/TestCases/verbose-log-path_test.cc b/test/asan/TestCases/verbose-log-path_test.cc index 12372ec680787..47a5c226a1bf0 100644 --- a/test/asan/TestCases/verbose-log-path_test.cc +++ b/test/asan/TestCases/verbose-log-path_test.cc @@ -1,8 +1,11 @@ // RUN: %clangxx_asan %s -o %T/verbose-log-path_test-binary +// The glob below requires bash. +// REQUIRES: shell + // Good log_path. // RUN: rm -f %T/asan.log.* -// RUN: env ASAN_OPTIONS=$ASAN_OPTIONS:log_path=%T/asan.log:log_exe_name=1 not %run %T/verbose-log-path_test-binary 2> %t.out +// RUN: %env_asan_opts=log_path=%T/asan.log:log_exe_name=1 not %run %T/verbose-log-path_test-binary 2> %t.out // RUN: FileCheck %s --check-prefix=CHECK-ERROR < %T/asan.log.verbose-log-path_test-binary.* // FIXME: only FreeBSD and Linux have verbose log paths now. |