JDK-8179317 : [TESTBUG] rewrite runtime shell tests in java
Type:Bug
Component:hotspot
Sub-Component:runtime
Affected Version:9,10
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2017-04-26
Updated:2022-12-14
Resolved:2020-02-05
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
shell tests are known to be error-prone and hard to debug, furthermore in most cases a shell script part does not do much, therefore they should be rewritten to java version.
Comments
Fix request (11u)
Requesting backport of this test update to facilitate the backport of JDK-8287906 to jdk11u-dev. Backport marked as clean and testing is green.
13-12-2022
A pull request was submitted for review.
URL: https://git.openjdk.org/jdk11u-dev/pull/1587
Date: 2022-12-12 15:09:06 +0000
I'm sorry but it's not 'feature' it's a bug, there have been several cases when shell tests sporadically crashed (in most cases due to problems w/ OS, shells, e.g. JDK-8151315) and this was the original idea behind this shell to java rewriting.
15-01-2019
Runtime Triage: This is not on our current list of priorities. We will consider this feature if we receive additional customer requirements.
15-01-2019
as of today(25th Apr 2017) there are 3 shell tests in hotspot/test/runtime: $ ack -l "@run shell" ./test/runtime/
test/runtime/6626217/Test6626217.sh
test/runtime/7162488/Test7162488.sh
test/runtime/StackGuardPages/testme.sh