]> git.ipfire.org Git - thirdparty/bind9.git/commit
Export env variables in system tests
authorTom Krizek <tkrizek@isc.org>
Tue, 25 Oct 2022 16:00:27 +0000 (18:00 +0200)
committerTom Krizek <tkrizek@isc.org>
Tue, 1 Nov 2022 18:51:52 +0000 (19:51 +0100)
commitae86743e7b38535992bfb77a2d8263c3d69d4caf
treef7e090a8299c0d27882c0a2bceb1408b35945d4e
parentedd923e8ebe330c00b12563107d6bc3ca2a8af22
Export env variables in system tests

Certain variables have to be exported in order for the system tests to
work. It makes little sense to export the variables in one place/script
while they're defined in another place.

Since it makes no harm, export all the variables to make the behaviour
more predictable and consistent. Previously, some variables were
exported as environment variables, while others were just shell
variables which could be used once the configuration was sourced from
another script. However, they wouldn't be exposed to spawned processes.

For simplicity sake (and for the upcoming effort to run system tests
with pytest), export all variables that are used. TESTS, PARALLEL_UNIX
and SUBDIRS variables are automake-specific, aren't used anywhere else
and thus not exported.

(cherry picked from commit 37d14c69c050a6c2bc0ebbbdc80a788bb6795b7e)
bin/tests/system/conf.sh.common
bin/tests/system/conf.sh.in