From: Yorgos Thessalonikefs Date: Wed, 15 May 2024 09:20:36 +0000 (+0200) Subject: - Add missing common functions to tdir tests. X-Git-Tag: release-1.21.0rc1~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1048c4a28c8ddf5b18f3cc59a46821ef9e2e08d4;p=thirdparty%2Funbound.git - Add missing common functions to tdir tests. --- diff --git a/doc/Changelog b/doc/Changelog index 7dcd3d491..a090c1342 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +15 May 2024: Yorgos + - Add missing common functions to tdir tests. + 10 May 2024: Wouter - Fix when the mesh jostle is exceeded that nameserver targets are marked as resolved, so that the lookup is not stuck on the diff --git a/testdata/07-confroot.tdir/07-confroot.pre b/testdata/07-confroot.tdir/07-confroot.pre index 4f966bddd..e085bf2f3 100644 --- a/testdata/07-confroot.tdir/07-confroot.pre +++ b/testdata/07-confroot.tdir/07-confroot.pre @@ -4,6 +4,7 @@ # use .tpkg.var.test for in test variable passing [ -f .tpkg.var.test ] && source .tpkg.var.test +. ../common.sh PRE="../.." if uname | grep "MINGW" >/dev/null; then diff --git a/testdata/root_anchor.tdir/root_anchor.pre b/testdata/root_anchor.tdir/root_anchor.pre index 0357646cd..0123eaabe 100644 --- a/testdata/root_anchor.tdir/root_anchor.pre +++ b/testdata/root_anchor.tdir/root_anchor.pre @@ -3,6 +3,8 @@ # use .tpkg.var.test for in test variable passing [ -f .tpkg.var.test ] && source .tpkg.var.test +. ../common.sh + # only do this test if the network is up. if dig @k.root-servers.net . SOA 2>&1 | grep NOERROR ; then : diff --git a/testdata/root_hints.tdir/root_hints.pre b/testdata/root_hints.tdir/root_hints.pre index a75669312..fe0096fae 100644 --- a/testdata/root_hints.tdir/root_hints.pre +++ b/testdata/root_hints.tdir/root_hints.pre @@ -4,6 +4,8 @@ # use .tpkg.var.test for in test variable passing [ -f .tpkg.var.test ] && source .tpkg.var.test +. ../common.sh + # dig 9 ? digv=`dig -v 2>&1 | wc -l` if test $digv -ne 1; then