aboutsummaryrefslogtreecommitdiff
path: root/test/java/test.sh
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-09-14 03:15:51 +0300
committerGitHub <noreply@github.com>2022-09-14 03:15:51 +0300
commit674b096863a564d5dfe91e0a88ea0061fa79ae71 (patch)
treedd085e0063cc509f54f96fd01ee6555090b4a88c /test/java/test.sh
parentb7b5d8b1c02f6a8755c880d6f615115760462c8b (diff)
Conda and Java: sync env variables (#153)
* conda script * Adds JAVA_HOME * Update src/conda/devcontainer-feature.json Co-authored-by: Josh Spicer <joshspicer@github.com> * modify containerEnv * fix version * bump python version Co-authored-by: Josh Spicer <joshspicer@github.com>
Diffstat (limited to 'test/java/test.sh')
-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