Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .github/workflows/ubi9-openjdk-11-runtime.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/workflows/ubi9-openjdk-11.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/workflows/ubi9-openjdk-17-runtime.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/workflows/ubi9-openjdk-17.yml

This file was deleted.

This file was deleted.

30 changes: 0 additions & 30 deletions modules/jdk/11/configure.sh

This file was deleted.

36 changes: 0 additions & 36 deletions modules/jdk/11/module.yaml

This file was deleted.

This file was deleted.

30 changes: 0 additions & 30 deletions modules/jdk/17/configure.sh

This file was deleted.

35 changes: 0 additions & 35 deletions modules/jdk/17/module.yaml

This file was deleted.

This file was deleted.

23 changes: 0 additions & 23 deletions modules/jdk/8/configure.sh

This file was deleted.

35 changes: 0 additions & 35 deletions modules/jdk/8/module.yaml

This file was deleted.

58 changes: 9 additions & 49 deletions modules/jdk/tests/features/openjdk.feature
Original file line number Diff line number Diff line change
@@ -1,27 +1,7 @@
Feature: Miscellaneous OpenJDK-related unit tests

@ubi9/openjdk-11
@ubi9/openjdk-11-runtime
Scenario: Check that only OpenJDK 11 is installed
When container is started with args
| arg | value |
| command | rpm -qa |
Then available container log should not contain java-1.8.0
Then available container log should not contain java-17
Then available container log should not contain java-21

@ubi9/openjdk-17
@ubi9/openjdk-17-runtime
Scenario: Check that only OpenJDK 17 is installed
When container is started with args
| arg | value |
| command | rpm -qa |
Then available container log should not contain java-1.8.0
Then available container log should not contain java-11
Then available container log should not contain java-21

@ubi9/openjdk-21
@ubi9/openjdk-21-runtime
@ubi10/openjdk-21
@ubi10/openjdk-21-runtime
Scenario: Check that only OpenJDK 21 is installed
When container is started with args
| arg | value |
Expand All @@ -30,14 +10,14 @@ Feature: Miscellaneous OpenJDK-related unit tests
Then available container log should not contain java-11
Then available container log should not contain java-17

@ubi9
@ubi10
Scenario: Ensure JAVA_HOME is defined and contains Java
When container is started with args
| arg | value |
| command | bash -c "$JAVA_HOME/bin/java -version" |
Then available container log should contain OpenJDK Runtime Environment

@ubi9
@ubi10
Scenario: Check that certain non-UBI packages are not installed
When container is started with args
| arg | value |
Expand All @@ -46,28 +26,8 @@ Feature: Miscellaneous OpenJDK-related unit tests
Then available container log should not contain os-prober
Then available container log should not contain rpm-plugin-systemd-inhibit

@ubi9/openjdk-11
@ubi9/openjdk-11-runtime
Scenario: Check that directories from other JDKs are not present (JDK11)
When container is started with args
| arg | value |
| command | ls -1 /usr/lib/jvm |
Then available container log should not contain java-1.8.0
Then available container log should not contain java-17
Then available container log should not contain java-21

@ubi9/openjdk-17
@ubi9/openjdk-17-runtime
Scenario: Check that directories from other JDKs are not present (JDK17)
When container is started with args
| arg | value |
| command | ls -1 /usr/lib/jvm |
Then available container log should not contain java-1.8.0
Then available container log should not contain java-11
Then available container log should not contain java-21

@ubi9/openjdk-21
@ubi9/openjdk-21-runtime
@ubi10/openjdk-21
@ubi10/openjdk-21-runtime
Scenario: Check that directories from other JDKs are not present (JDK21)
When container is started with args
| arg | value |
Expand All @@ -76,21 +36,21 @@ Feature: Miscellaneous OpenJDK-related unit tests
Then available container log should not contain java-11
Then available container log should not contain java-17

@ubi9
@ubi10
Scenario: Ensure LANG is defined and contains UTF-8
When container is started with args
| arg | value |
| command | bash -c "$JAVA_HOME/bin/java -XshowSettings:properties -version" |
Then available container log should contain file.encoding = UTF-8

@ubi9
@ubi10
Scenario: Ensure tar is installed (OPENJDK-1165)
When container is started with args
| arg | value |
| command | tar |
Then available container log should not contain command not found

@ubi9
@ubi10
Scenario: Ensure tzdata RPM is properly installed (OPENJDK-2519)
When container is started with args
| arg | value |
Expand Down

This file was deleted.

Loading