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