Issue 183857
Summary [llvm-lit] Internal shell `env` PATH overrides should disable builtins
Labels tools:llvm-lit
Assignees
Reporter mysterymath
    https://github.com/llvm/llvm-project/pull/181258 included tests that caused breakages whenever the internal shell was disabled. This is due to the pattern `RUN: env PATH="" not <...>`. Using the actual binaries the internal shell is intended to replace, emptying `PATH` would cause `not` to become inaccessible. Thus, so long as we intend to preserve PASS/FAIL agreement between internal and external shells, `env` would need to inhibit builtin activation for its contents whenever `PATH` is set. Or, perhaps something cleverer than that; I'm not terrifically familiar with how the internal shell is implemented.

CC: @ilovepi @boomanaiden154 
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to