]> 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 13:16:16 +0000 (14:16 +0100)
commit0c50eb1ac3ed7ea2d7978d1681bd857aefd167fe
treecaf8a69b1e6f3a9bbfe413f4ceab49accef8946d
parent7e2af7a871de32dcd4f4aced8f36a6a364d0f621
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.

(cherry picked from commit 86a192cecea5413db85b30fb478cc48986452fe4)
bin/tests/system/resolver/tests.sh