Skip to content

Commit

Permalink
Add jdk_restricted_security_j9 test
Browse files Browse the repository at this point in the history
Add jdk_restricted_security_j9 test

Signed-off-by: LongyuZhang <[email protected]>
  • Loading branch information
LongyuZhang committed Dec 2, 2024
1 parent 604a052 commit d3e890a
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 4 deletions.
9 changes: 5 additions & 4 deletions functional/OpenJcePlusTests/playlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@
mkdir junitreports; \
cp -r ${REPORTDIR}/target/surefire-reports/* junitreports
</command>
<features>
<feature>FIPS140_3_OpenJCEPlusFIPS:required</feature>
<feature>FIPS140_3_OpenJCEPlusFIPS.FIPS140-3:required</feature>
</features>
<features>
<feature>FIPS140_2:nonapplicable</feature>
<feature>FIPS140_3_OpenJCEPlusFIPS:nonapplicable</feature>
<feature>FIPS140_3_OpenJCEPlusFIPS.FIPS140-3:nonapplicable</feature>
</features>
<levels>
<level>extended</level>
</levels>
Expand Down
29 changes: 29 additions & 0 deletions openjdk/playlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1657,6 +1657,35 @@
<feature>FIPS140_3_OpenJCEPlusFIPS.FIPS140-3:nonapplicable</feature>
</features>
</test>
<test>
<testCaseName>jdk_restricted_security_j9</testCaseName>
<disable>
<comment>Only applicable on aix, pliunx, xlinux, wins64 and zlinux atm</comment>
<platform>^((?!(ppc64_aix|ppc64le_linux|x86-64_linux|x86-64_windows|s390x_linux)).)*$</platform>
</disable>
<command>$(JAVA_COMMAND) -Xmx512m -jar $(Q)$(TEST_RESROOT)$(D)jtreg$(D)lib$(D)jtreg.jar$(Q) \
$(JTREG_BASIC_OPTIONS) $(JDK_NATIVE_OPTIONS) -vmoptions:$(Q)-Xmx512m $(JVM_OPTIONS) $(VMOPTION_HEADLESS)$(Q) \
$(TIMEOUT_HANDLER) \
-w $(Q)$(REPORTDIR)$(D)work$(Q) \
-r $(Q)$(REPORTDIR)$(D)report$(Q) \
-jdk:$(Q)$(TEST_JDK_HOME)$(Q) \
$(Q)$(OPENJDK_DIR)$(D)closed$(D)test$(D)jdk$(D)openj9$(D)internal$(D)security$(Q); \
$(TEST_STATUS)</command>
<features>
<feature>FIPS140_3_OpenJCEPlusFIPS:required</feature>
<feature>FIPS140_3_OpenJCEPlusFIPS.FIPS140-3:required</feature>
</features>
<levels>
<level>special</level>
</levels>
<groups>
<group>openjdk</group>
</groups>
<impls>
<impl>openj9</impl>
<impl>ibm</impl>
</impls>
</test>
<test>
<testCaseName>jdk_rmi</testCaseName>
<variations>
Expand Down

0 comments on commit d3e890a

Please sign in to comment.