diff options
Diffstat (limited to 'test/asan/TestCases/contiguous_container_crash.cc')
-rw-r--r-- | test/asan/TestCases/contiguous_container_crash.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/asan/TestCases/contiguous_container_crash.cc b/test/asan/TestCases/contiguous_container_crash.cc index eba50b125..9f4d55017 100644 --- a/test/asan/TestCases/contiguous_container_crash.cc +++ b/test/asan/TestCases/contiguous_container_crash.cc @@ -1,7 +1,7 @@ // RUN: %clangxx_asan -O %s -o %t -// RUN: not %t crash 2>&1 | FileCheck --check-prefix=CHECK-CRASH %s -// RUN: not %t bad-bounds 2>&1 | FileCheck --check-prefix=CHECK-BAD %s -// RUN: ASAN_OPTIONS=detect_container_overflow=0 %t crash +// RUN: not %run %t crash 2>&1 | FileCheck --check-prefix=CHECK-CRASH %s +// RUN: not %run %t bad-bounds 2>&1 | FileCheck --check-prefix=CHECK-BAD %s +// RUN: ASAN_OPTIONS=detect_container_overflow=0 %run %t crash // // Test crash due to __sanitizer_annotate_contiguous_container. |