diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2022-07-14 22:16:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-14 22:16:55 +0300 |
commit | 27e63203fa96543d287128b91fa02766fe687069 (patch) | |
tree | adfcf051b7d82ba7f77943c8162c2c130566cbef /test-scenarios/install_additional_java.sh | |
parent | 330429ebb3b858e73f458dea9f43b6f89065826b (diff) |
Java: Install additional versions (#62)
* Java: Install additional versions
* nit
* tweak: to unblock git merge
* nit
Diffstat (limited to 'test-scenarios/install_additional_java.sh')
-rw-r--r-- | test-scenarios/install_additional_java.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test-scenarios/install_additional_java.sh b/test-scenarios/install_additional_java.sh new file mode 100644 index 0000000..a796fee --- /dev/null +++ b/test-scenarios/install_additional_java.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +set -e + +# Optional: Import test library +source dev-container-features-test-lib + +check "java version 17 installed as default" java --version | grep 17 +check "java version 11 installed" ls /usr/local/sdkman/candidates/java | grep 11 +check "java version 8 installed" ls /usr/local/sdkman/candidates/java | grep 8 + +# Report result +reportResults |