bstinson / centos / t_functional

Forked from centos/t_functional 4 years ago
Clone

Blame tests/p_java-openjdk/p_java-openjdk-common

8614a0
#!/bin/bash
8614a0
# Author: Pablo Greco <pablo@fliagreco.com.ar>
8614a0
# Based on java-1.6.0-openjdk test from Christoph Galuschka <christoph.galuschka@chello.at>
8614a0
8614a0
[ ${centos_ver} -lt 7 ] && { t_Log "Multiple java versions test is only available since el7, skipping tests..." ; exit ; }
8614a0
8614a0
JAVA_VERSIONS="1.7.0 1.8.0 11"
8614a0
8614a0
if (t_GetArch | grep -qvE 'aarch64|ppc64le')
8614a0
  then
8614a0
  JAVA_VERSIONS="1.6.0 $JAVA_VERSIONS"
8614a0
fi
8614a0
8614a0
[ -z "${JAVA_VERSIONS}" ] && { t_Log "No java versions to test, skipping tests..." ; exit ; }