]> git.ipfire.org Git - thirdparty/bind9.git/commit
Export variable in resolver system test
authorTom Krizek <tkrizek@isc.org>
Fri, 12 Jan 2024 14:03:53 +0000 (15:03 +0100)
committerTom Krizek <tkrizek@isc.org>
Thu, 21 Mar 2024 12:25:00 +0000 (13:25 +0100)
commit86a192cecea5413db85b30fb478cc48986452fe4
tree8242473b3b56073f9a61b994dcad4f1d2bbd3b3f
parentb1ebd49f3a9bd39c2f3b4f65cb1cc69e28647d17
Export variable in resolver system test

Variable assignment when calling subroutines might not be portable.
Notably, it doesn't work with FreeBSD shell, where the value of HOME
would be ignored in this case.

Since the commands are already executed in a subshell, export the HOME
variable to ensure it is properly handled in all shells.
bin/tests/system/resolver/tests.sh