]> 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>
Thu, 27 Oct 2022 11:24:52 +0000 (13:24 +0200)
commit01b4a28d59feb5563c7e4925752efa73ebfa1a9f
treefe2f83e9641f87cb94f2973370263ef6dc21e39d
parent2843d32d000ecd28ea035280440d10b6c878d525
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