Skip to content

Commit 1bedb62

Browse files
committed
jlink.feature: Adjust method for testing a directory doesn't exist
Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 2c30d2e commit 1bedb62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/jlink/tests/features/jlink.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ Scenario: Ensure jlinked builder is used to build the containerized application
1212
Scenario: Ensure S2I_ENABLE_JLINK is not set to true
1313
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from quarkus-quickstarts/getting-started-3.0.1.Final-nos2i
1414
Then container log should not contain S2I_ENABLE_JLINK=true
15-
And run ls /tmp/jre in container and check its output for No such file or directory
15+
And run bash -c "test ! -d /tmp/jre && echo PASS" in container and immediately check its output for PASS

0 commit comments

Comments
 (0)