]> git.ipfire.org Git - thirdparty/bind9.git/commit
Properly adjust the srcdir vs builddir paths
authorOndřej Surý <ondrej@isc.org>
Wed, 1 Jun 2022 11:10:37 +0000 (13:10 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 1 Jun 2022 15:45:34 +0000 (17:45 +0200)
commit33057fc891d4f9cbc26f3d89715e8facfcb1c039
treec7d2f8dffcba2593884d3c997bf29e1bd11920aa
parentc4fd0c3e4b096122ff8a3ee854c42ca1884de5e0
Properly adjust the srcdir vs builddir paths

Affected unit tests load testdata from the srcdir.  Previously, there
was a kludge that chdir()ed to the tests srcdir, but that get removed
during refactoring.  Instead of introducing the kludge again, the paths
were fixed to be properly prefixed with TESTS_DIR as needed.

(cherry picked from commit 16595cdde0ff7c48f030fd26b6c5e2b19bd00215)
16 files changed:
tests/dns/Makefile.am
tests/dns/db_test.c
tests/dns/dbdiff_test.c
tests/dns/dbiterator_test.c
tests/dns/dh_test.c
tests/dns/dnstap_test.c
tests/dns/dst_test.c
tests/dns/master_test.c
tests/dns/nsec3_test.c
tests/dns/nsec3param_test.c
tests/dns/rsa_test.c
tests/dns/sigs_test.c
tests/dns/testdata/master/master18.data.in [moved from tests/dns/testdata/master/master18.data with 57% similarity]
tests/dns/zt_test.c
tests/ns/notify_test.c
tests/ns/query_test.c