[Lldb-commits] [lldb] [LLDB] Fix tests that fail when using internal shell. (PR #156931)

Aiden Grossman via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 4 10:26:44 PDT 2025


================
@@ -6,7 +6,7 @@
 # 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 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
----------------
boomanaiden154 wrote:

This will still fail because lit's internal shell doesn't support `env -i` yet (and I confirmed that it still fails locally).

https://github.com/llvm/llvm-project/pull/156931


More information about the lldb-commits mailing list