]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: don't export $TOOLS_DIR 27013/head
authorFranck Bui <fbui@suse.com>
Wed, 22 Mar 2023 09:33:58 +0000 (10:33 +0100)
committerFranck Bui <fbui@suse.com>
Mon, 27 Mar 2023 15:20:18 +0000 (17:20 +0200)
It's not (and shouldn't be) used by any test scripts.

test/test-functions

index 11c5da3cb1c796bd995b8fcc0a22198cd16f8252..e0cc6a85a51e24ab3708ac0c3f8ffe9b1913b6fd 100644 (file)
@@ -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"