llvm-project/lldb/test/Shell/Host/TestCustomShell.test
Augusto Noronha 294ca12295 Adapt TestCustomShell and TestMultipleDebuggers to run under ASAN
In situations where only LLDB is ASANified, a false positive occurs
unless ASAN_OPTIONS=detect_container_overflow=0 is set in the
environment.

Differential Revision: https://reviews.llvm.org/D143772
2023-02-10 17:19:21 -08:00

14 lines
566 B
Plaintext

# FIXME: ShellExpandArguments is unimplemented on the following targets.
# UNSUPPORTED: system-windows
# UNSUPPORTED: system-linux
# XFAIL: system-freebsd
# XFAIL: system-netbsd
# XFAIL: system-openbsd
# RUN: %clang_host %S/Inputs/simple.c -g -o %t.out
# RUN: SHELL=bogus not %lldb %t.out -b -o 'process launch -X 1 --' 2>&1 | FileCheck %s --check-prefix ERROR
# RUN: env -i ASAN_OPTIONS='detect_container_overflow=0' %lldb %t.out -b -o 'process launch -X 1 --' 2>&1 | FileCheck %s
# ERROR: error: shell expansion failed
# CHECK-NOT: error: shell expansion failed