From: Franck Bui Date: Wed, 22 Mar 2023 09:33:58 +0000 (+0100) Subject: test: don't export $TOOLS_DIR X-Git-Tag: v254-rc1~893^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F27013%2Fhead;p=thirdparty%2Fsystemd.git test: don't export $TOOLS_DIR It's not (and shouldn't be) used by any test scripts. --- diff --git a/test/test-functions b/test/test-functions index 11c5da3cb1c..e0cc6a85a51 100644 --- a/test/test-functions +++ b/test/test-functions @@ -107,10 +107,10 @@ fi TEST_BASE_DIR=${TEST_BASE_DIR:-$(realpath "$(dirname "${BASH_SOURCE[0]}")")} TEST_UNITS_DIR="$(realpath "$TEST_BASE_DIR/units")" SOURCE_DIR=$(realpath "$TEST_BASE_DIR/..") -TOOLS_DIR="$SOURCE_DIR/tools" # These variables are used by test scripts -export TEST_BASE_DIR TEST_UNITS_DIR SOURCE_DIR TOOLS_DIR +export TEST_BASE_DIR TEST_UNITS_DIR SOURCE_DIR +TOOLS_DIR="$SOURCE_DIR/tools" # note that find-build-dir.sh will return $BUILD_DIR if provided, else it will try to find it if get_bool "${NO_BUILD:=}"; then BUILD_DIR="$SOURCE_DIR"