[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 02:36:03 PDT 2025


================
@@ -1,7 +1,7 @@
 ## Tests env command for setting the PATH variable.
 
 # The test is using /bin/sh. Limit to system known to have /bin/sh.
-# REQUIRED: system-linux
+# REQUIRES: system-linux
----------------
bjope wrote:

> Is perhaps `REQUIRES: shell` more appropriate?

Sorry. That is about using the lit internal shell or not. So that wouldn't fit for checking if `/bin/sh ` exists.

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


More information about the llvm-commits mailing list