mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-10-15 13:05:12 +02:00
- auth-load-thread, fix unit test for auth load rpz threads check.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user