From 1048c4a28c8ddf5b18f3cc59a46821ef9e2e08d4 Mon Sep 17 00:00:00 2001 From: Yorgos Thessalonikefs Date: Wed, 15 May 2024 11:20:36 +0200 Subject: [PATCH] - Add missing common functions to tdir tests. --- doc/Changelog | 3 +++ testdata/07-confroot.tdir/07-confroot.pre | 1 + testdata/root_anchor.tdir/root_anchor.pre | 2 ++ testdata/root_hints.tdir/root_hints.pre | 2 ++ 4 files changed, 8 insertions(+) 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 -- 2.47.2