testsuite: Change JAVA_HOME

This commit is contained in:
Björn Busse 2021-03-07 03:34:18 +01:00
parent 82ee98bd8d
commit 59a7187b1b

View File

@ -11,7 +11,7 @@ HDFS_CMD_FORMAT="./hadoop/bin/hdfs --config hadoop/etc/hadoop namenode -format"
source setup.sh source setup.sh
setup_suite() { setup_suite() {
if [ "FreeBSD" = $(uname) ]; then if [ "FreeBSD" = "$(uname)" ]; then
export JAVA_HOME=${JAVA_HOME:-"/usr/local"} export JAVA_HOME=${JAVA_HOME:-"/usr/local"}
else else
export JAVA_HOME=${JAVA_HOME:-"/"} export JAVA_HOME=${JAVA_HOME:-"/"}