From 0dcd4cd2e82e67beb2baa17fd768fef527bb1d57 Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Tue, 6 Oct 2026 11:45:57 +0200 Subject: [PATCH] - auth-load-thread, fix unit test for auth load rpz threads check. --- testdata/auth_load_rpz.tdir/auth_load_rpz.pre | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testdata/auth_load_rpz.tdir/auth_load_rpz.pre b/testdata/auth_load_rpz.tdir/auth_load_rpz.pre index bde19cff4..da0c6fa69 100644 --- a/testdata/auth_load_rpz.tdir/auth_load_rpz.pre +++ b/testdata/auth_load_rpz.tdir/auth_load_rpz.pre @@ -5,7 +5,6 @@ [ -f .tpkg.var.test ] && source .tpkg.var.test . ../common.sh -get_random_port 2 # if no threads; exit if grep -e "define HAVE_PTHREAD 1" -e "define HAVE_SOLARIS_THREADS 1" -e "define HAVE_WINDOWS_THREADS 1" $PRE/config.h; then echo "have threads" @@ -13,6 +12,7 @@ else skip_test "no threads" fi +get_random_port 2 UNBOUND_PORT=$RND_PORT FWD_PORT=$(($RND_PORT + 1)) echo "UNBOUND_PORT=$UNBOUND_PORT" >> .tpkg.var.test