aboutsummaryrefslogtreecommitdiff
path: root/test/java/install_from_non_default_distro.sh
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-09-24 00:25:58 +0300
committerGitHub <noreply@github.com>2022-09-24 00:25:58 +0300
commit3a28652790def9f3172561fa2907191bf5c0cab0 (patch)
tree24cd5a658ddb047f833a4a3a24a2683bb88fdf6e /test/java/install_from_non_default_distro.sh
parentceb4544cc38d4882a0294c79f4ef8123435cb027 (diff)
Java: add jdkDistro option (#172)
* add jdkDistro option * bump version
Diffstat (limited to 'test/java/install_from_non_default_distro.sh')
-rw-r--r--test/java/install_from_non_default_distro.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/java/install_from_non_default_distro.sh b/test/java/install_from_non_default_distro.sh
new file mode 100644
index 0000000..e45f9dd
--- /dev/null
+++ b/test/java/install_from_non_default_distro.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+set -e
+
+# Optional: Import test library
+source dev-container-features-test-lib
+
+check "java version 18 installed as default" java --version | grep 18
+
+# Report result
+reportResults