[llvm] [lit] Fix to make "RUN: env PATH=..." work as intended (PR #165308)

Björn Pettersson via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 28 05:33:38 PDT 2025


================
@@ -0,0 +1,4 @@
+#!/bin/sh
----------------
bjope wrote:

I thought about using python, but couldn't find a good way to make it work. The only executable that is in PATH is test.py itself, so python isn't in the PATH. That is why I though /bin/sh could be assumed to always exist in supported linux installations.

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


More information about the llvm-commits mailing list