dyung wrote:
Our internal linux builder is also hitting issues in a bunch of XRay tests that start passing when I set `LIT_USE_INTERNAL_SHELL=0`. Errors look similar to this:
```
FAIL: XRay-x86_64-linux :: TestCases/Posix/c-test.cpp (3 of 37)
******************** TEST 'XRay-x86_64-linux :: TestCases/Posix/c-test.cpp' FAILED ********************
Exit Code: 127
Command Output (stdout):
--
# RUN: at line 1
/home/dyung/src/git/merge/build-test/./bin/clang -fxray-instrument -m64 -g -fxray-modes=xray-basic,xray-fdr,xray-profiling -o /home/dyung/src/git/merge/build-test/projects/compiler-rt/test/xray/X86_64LinuxConfig/TestCases/Posix/
Output/c-test.cpp.tmp /home/dyung/src/git/merge/compiler-rt/test/xray/TestCases/Posix/c-test.cpp
# executed command: /home/dyung/src/git/merge/build-test/./bin/clang -fxray-instrument -m64 -g -fxray-modes=xray-basic,xray-fdr,xray-profiling -o /home/dyung/src/git/merge/build-test/projects/compiler-rt/test/xray/X86_64LinuxConfig
/TestCases/Posix/Output/c-test.cpp.tmp /home/dyung/src/git/merge/compiler-rt/test/xray/TestCases/Posix/c-test.cpp
# RUN: at line 2
rm -f xray-log.c-test.*
# executed command: rm -f 'xray-log.c-test.*'
# RUN: at line 3
XRAY_OPTIONS=patch_premain=true:verbosity=1:xray_mode=xray-basic /home/dyung/src/git/merge/build-test/projects/compiler-rt/test/xray/X86_64LinuxConfig/TestCases/Posix/Output/c-test.cpp.tmp 2>&1 | FileCheck /home/dyung/src/git/
merge/compiler-rt/test/xray/TestCases/Posix/c-test.cpp
# executed command: XRAY_OPTIONS=patch_premain=true:verbosity=1:xray_mode=xray-basic /home/dyung/src/git/merge/build-test/projects/compiler-rt/test/xray/X86_64LinuxConfig/TestCases/Posix/Output/c-test.cpp.tmp
# .---command stderr------------
# | 'XRAY_OPTIONS=patch_premain=true:verbosity=1:xray_mode=xray-basic': command not found
# `-----------------------------
# error: command failed with exit status: 127
```
https://github.com/llvm/llvm-project/pull/168232