Process tests fail due to rust-coreutils
authorVladimir Petko <vladimir.petko@canonical.com>
Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)
committerMatthias Klose <doko@ubuntu.com>
Thu, 17 Jul 2025 14:12:28 +0000 (16:12 +0200)
commitd2fa8d6d674aa79f761a9dd48877115c447f9f99
tree2527032e8d4cd2090987aadd4af9e99ef3b4b937
parent33c3ae22c6bdf0efcfae0b7b9e681e1c72873303
Process tests fail due to rust-coreutils

Origin: upstream, https://github.com/openjdk/jdk/pull/25838
Bug: https://bugs.openjdk.org/browse/JDK-8359735
Reviewed-by: Roger Riggs <roger.riggs@oracle.com>
Last-Update: 2025-06-19

To accommodate systems like Ubuntu 25.10 that use Rust coreutils,
this PR updates tests that previously assumed busybox was the only
environment to use symlinks for core utilities.
- java/lang/ProcessBuilder/Basic.java: The test is updated to simply
  verify that /bin/true and /bin/false are symlinks,
  removing the hardcoded check for a /bin/busybox target.
- java/lang/ProcessHandle/InfoTest.java: The test logic is relaxed.
  It now confirms that /bin/sleep is a symlink and then uses the
  symlink's target as the expected executable name.
Last-Update: 2025-06-19
Gbp-Pq: Name jdk-8359735.patch
test/jdk/java/lang/ProcessBuilder/Basic.java
test/jdk/java/lang/ProcessHandle/InfoTest.java