features/test/java/install_from_non_default_distro.sh
etienne-chrp be4f0498e4
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
2022-11-16 16:46:30 -08:00

12 lines
203 B
Bash

#!/bin/bash
set -e
# Optional: Import test library
source dev-container-features-test-lib
check "java version openjdk 11 installed" grep "openjdk 11." <(java --version)
# Report result
reportResults