File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
compiler-rt/test/asan/TestCases/Linux Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 2323// RUN: | FileCheck %s --check-prefixes=CHECK-REALLOC,CHECK-CRASH
2424// RUN: %env_asan_opts=allocator_may_return_null=1 %run %t realloc 2>&1 \
2525// RUN: | FileCheck %s --check-prefixes=CHECK-REALLOC,CHECK-NULL
26- // RUN: %env_asan_opts=allocator_may_return_null=0 not %run %t realloc-after-malloc 2>&1 \
26+ // RUN: %export_asan_opts=allocator_may_return_null=0
27+ // RUN: not %run %t realloc-after-malloc 2>&1 \
2728// RUN: | FileCheck %s --check-prefixes=CHECK-MALLOC-REALLOC,CHECK-CRASH
28- // RUN: %env_asan_opts=allocator_may_return_null=1 %run %t realloc-after-malloc 2>&1 \
29+ // RUN: %export_asan_opts=allocator_may_return_null=1
30+ // RUN: %run %t realloc-after-malloc 2>&1 \
2931// RUN: | FileCheck %s --check-prefixes=CHECK-MALLOC-REALLOC,CHECK-NULL
3032
3133// ASan shadow memory on s390 is too large for this test.
You can’t perform that action at this time.
0 commit comments