Skip to content

Commit 97ce862

Browse files
committed
[OPENJDK-1551] test for JAVA_APP_NAME with spaces
Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 8eb001a commit 97ce862

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/features/java/runtime.feature

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,16 @@ Feature: Openshift OpenJDK Runtime tests
2828

2929
@ubi9
3030
Scenario: Check JAVA_OPTS overrides JAVA_OPTS_APPEND
31-
piv
3231
Given container is started with env
3332
| variable | value |
3433
| JAVA_OPTS | -verbose:gc |
3534
| JAVA_OPTS_APPEND | -Xint |
3635
Then container log should contain -verbose:gc
3736
And container log should not contain -Xint
37+
38+
@ubi9
39+
Scenario: Check JAVA_APP_NAME can contain spaces (OPENJDK-1551)
40+
Given container is started with env
41+
| variable | value |
42+
| JAVA_APP_NAME | foo bar |
43+
Then container log should not contain exec: bar': not found

0 commit comments

Comments
 (0)