From 9db2892ec4fb8a37395b02246b413a8723eddc03 Mon Sep 17 00:00:00 2001 From: Alexandre Dutra Date: Fri, 10 Jan 2025 22:11:50 +0100 Subject: [PATCH] Fix regression test run.sh script (#698) --- regtests/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regtests/run.sh b/regtests/run.sh index 2fad67df1..679dc2cb8 100755 --- a/regtests/run.sh +++ b/regtests/run.sh @@ -22,7 +22,7 @@ export SPARK_VERSION=spark-3.5.3 export SPARK_DISTRIBUTION=${SPARK_VERSION}-bin-hadoop3 -if [ -z "${SPARK_HOME}"]; then +if [ -z "${SPARK_HOME}" ]; then export SPARK_HOME=$(realpath ~/${SPARK_DISTRIBUTION}) fi export PYTHONPATH="${SPARK_HOME}/python/:${SPARK_HOME}/python/lib/py4j-0.10.9.7-src.zip:$PYTHONPATH" @@ -91,7 +91,7 @@ for TEST_FILE in ${TEST_LIST}; do fi fi if [[ "${TEST_SHORTNAME}" =~ .*.s3_cross_region.*.sh ]]; then - if [ -z "$AWS_CROSS_REGION_TEST_ENABLED" ] || [ "$AWS_CROSS_REGION_TEST_ENABLED" != "true" ] ] ; then + if [ -z "$AWS_CROSS_REGION_TEST_ENABLED" ] || [ "$AWS_CROSS_REGION_TEST_ENABLED" != "true" ] ; then loginfo "AWS cross region tests not enabled, skip running test ${TEST_FILE}" continue fi