Skip to content

Commit

Permalink
- Add missing common functions to tdir tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
gthess committed May 15, 2024
1 parent 7de009f commit 1048c4a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/Changelog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions testdata/07-confroot.tdir/07-confroot.pre
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions testdata/root_anchor.tdir/root_anchor.pre
Original file line number Diff line number Diff line change
Expand Up @@ -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
:
Expand Down
2 changes: 2 additions & 0 deletions testdata/root_hints.tdir/root_hints.pre
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1048c4a

Please sign in to comment.