On Mon, 9 Mar 2026 03:25:24 GMT, Roger Riggs <[email protected]> wrote:
> Related to Ubuntuy 25-10 and ProcessBuilder/Basic.java tests labeled "PATH > search algorithm". > > Ubuntu 25-10 has changed /usr/bin/true and /usr/bin/false to be links to a > "multi-call binary" that implements many command shell commands. A subset of > the ProcessBuilder/Basic.java tests labeled "PATH search algorithm" fail as a > result. The tests make copies of /usr/bin/true and /usr/bin/false into > various directories using the name "prog". The PATH is set to combinations of > the direcrtories. `prog` is invoked and the exit status should match the > expected statue of /usr/bin/true or /usr/bin/false. However, when the > multi-call binary is invoked as `prog` the exit status does not match. The > tests should also be failing on Ubuntu 15-10 in the mainline and more recent > JDK releases. There should be a separate issue for that. Interesting. Should we not have this problem already on Alpine with Busybox? Anyway, maybe a more robust implementation of this problem would be to just create our own two little C programs that return specific exit codes (maybe something better than 0 or 1), place them into different sub directories under the test directory and set PATH to these sub directories. ------------- PR Comment: https://git.openjdk.org/jdk/pull/29939#issuecomment-4021846600
