Skip to content

Commit cfe2542

Browse files
[lldb] Add asan flags to TestCustomShell
As discussed in 9785749, we need to disable "user poisoning" in swift's fork of llvm. However, this particular test overrides the environment, so we need to propagate the asan flags manually.
1 parent 40563ea commit cfe2542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/test/Shell/Host/TestCustomShell.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
# RUN: %clang_host %S/Inputs/simple.c -g -o %t.out
99
# RUN: SHELL=bogus not %lldb %t.out -b -o 'process launch -X 1 --' 2>&1 | FileCheck %s --check-prefix ERROR
10-
# RUN: env -i ASAN_OPTIONS='detect_container_overflow=0' %lldb %t.out -b -o 'process launch -X 1 --' 2>&1 | FileCheck %s
10+
# RUN: env -i ASAN_OPTIONS='detect_container_overflow=0,allow_user_poisoning=0' %lldb %t.out -b -o 'process launch -X 1 --' 2>&1 | FileCheck %s
1111

1212
# ERROR: error: shell expansion failed
1313
# CHECK-NOT: error: shell expansion failed

0 commit comments

Comments
 (0)