aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rwxr-xr-xtest/conda/test.sh3
-rwxr-xr-xtest/java/test.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/test/conda/test.sh b/test/conda/test.sh
index 24755c5..f300217 100755
--- a/test/conda/test.sh
+++ b/test/conda/test.sh
@@ -9,5 +9,8 @@ source dev-container-features-test-lib
check "version" conda --version
check "if conda-notice.txt exists" cat /usr/local/etc/vscode-dev-containers/conda-notice.txt
+# Check env
+check "CONDA_SCRIPT is set correctly" echo $CONDA_SCRIPT | grep "/opt/conda/etc/profile.d/conda.sh"
+
# Report result
reportResults
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