aboutsummaryrefslogtreecommitdiff
path: root/test/java/install_from_non_default_distro.sh
diff options
context:
space:
mode:
authoretienne-chrp <66628513+etienne-chrp@users.noreply.github.com>2022-11-17 03:46:30 +0300
committerGitHub <noreply@github.com>2022-11-17 03:46:30 +0300
commitbe4f0498e4ad7948804d4be70093c1da8722d222 (patch)
treea50ac3ee2038a5b4130b7bdfcace59b4140efc5b /test/java/install_from_non_default_distro.sh
parentbff31788373499fdc903bad8f1b300d579c42d39 (diff)
Add Gradle and Maven version parameters to Java (#263)
* Refactor java feature tests grep syntax The grep with pipe syntax was creating problems with the check helper Change them in favour of process substitution syntax * Fix java feature tests about java version Java 18 is not available anymore in SDKMAN Some tests asserts were generating false positives * Add Gradle and Maven version parameters to Java
Diffstat (limited to 'test/java/install_from_non_default_distro.sh')
-rw-r--r--test/java/install_from_non_default_distro.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/java/install_from_non_default_distro.sh b/test/java/install_from_non_default_distro.sh
index e45f9dd..d4f5381 100644
--- a/test/java/install_from_non_default_distro.sh
+++ b/test/java/install_from_non_default_distro.sh
@@ -5,7 +5,7 @@ set -e
# Optional: Import test library
source dev-container-features-test-lib
-check "java version 18 installed as default" java --version | grep 18
+check "java version openjdk 11 installed" grep "openjdk 11." <(java --version)
# Report result
reportResults