Skip to content

Commit 4ddcde6

Browse files
committed
Add behave test
1 parent 4dd243a commit 4ddcde6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

modules/jlink/tests/features/jlink.feature

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,11 @@ Scenario: Check that /tmp/jre/bin/java and /tmp/jre/lib/modules exist post s2i b
1818
| S2I_ENABLE_JLINK | true |
1919
Then file /tmp/jre/bin/java should exist and be a file
2020
And file /tmp/jre/lib/modules should exist and be a file
21+
22+
Scenario: Check that /tmp/jlink is deleted when S2I_DELETE_SOURCE is set
23+
Given s2i build https://github.com/rh-openjdk/openjdk-container-test-applications from quarkus-quickstarts/getting-started-3.9.2-uberjar
24+
| variable | value |
25+
| S2I_ENABLE_JLINK | true |
26+
| S2I_DELETE_SOURCE | true |
27+
Then s2i build log should contain Cleaning up temporary file directory /tmp/jlink
28+
And file /tmp/jlink should not exist

0 commit comments

Comments
 (0)