be4f0498e4
* 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
12 lines
203 B
Bash
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
|