aboutsummaryrefslogtreecommitdiff
path: root/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'test/java')
-rwxr-xr-xtest/java/test.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/java/test.sh b/test/java/test.sh
index 5c6fa89..3ba4409 100755
--- a/test/java/test.sh
+++ b/test/java/test.sh
@@ -8,5 +8,8 @@ source dev-container-features-test-lib
# Definition specific tests
check "version" java --version
+# Check env
+check "JAVA_HOME is set correctly" echo $JAVA_HOME | grep "/usr/local/sdkman/candidates/java/current"
+
# Report result
reportResults \ No newline at end of file