From 59a7187b1b5d43df410fd7b095d3e8e6b2e05e63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Busse?= Date: Sun, 7 Mar 2021 03:34:18 +0100 Subject: [PATCH] testsuite: Change JAVA_HOME --- tests/test_hbase_exporter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_hbase_exporter.sh b/tests/test_hbase_exporter.sh index 53ce44e..4847caf 100644 --- a/tests/test_hbase_exporter.sh +++ b/tests/test_hbase_exporter.sh @@ -11,7 +11,7 @@ HDFS_CMD_FORMAT="./hadoop/bin/hdfs --config hadoop/etc/hadoop namenode -format" source setup.sh setup_suite() { - if [ "FreeBSD" = $(uname) ]; then + if [ "FreeBSD" = "$(uname)" ]; then export JAVA_HOME=${JAVA_HOME:-"/usr/local"} else export JAVA_HOME=${JAVA_HOME:-"/"}