Skip to content

Commit e6c2e51

Browse files
committed
[OPENJDK-407] Add a behave test for non-UBI RPMs
Four patterns that should not match any installed RPMs. "grub" to catch grub2-common, grub2-tools, grubby and grub2-tools-minimal. Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 99a7a79 commit e6c2e51

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/features/java/openjdk.feature

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,13 @@ Feature: Miscellaneous OpenJDK-related unit tests
3232
| arg | value |
3333
| command | bash -c "$JAVA_HOME/bin/java -version" |
3434
Then available container log should contain OpenJDK Runtime Environment
35+
36+
@ubi8
37+
Scenario: Check that certain non-UBI packages are not installed
38+
When container is started with args
39+
| arg | value |
40+
| command | rpm -qa |
41+
Then available container log should not contain grub
42+
Then available container log should not contain dejavu-sans-mono-fonts
43+
Then available container log should not contain os-prober
44+
Then available container log should not contain rpm-plugin-systemd-inhibit

0 commit comments

Comments
 (0)