1 # #-- 08-host-lib.pre--#
2 # source the master var file when it's there
3 [ -f ../.tpkg.var.master ] && source ../.tpkg.var.master
4 # use .tpkg.var.test for in test variable passing
5 [ -f .tpkg.var.test ] && source .tpkg.var.test
9 FWD_PORT=$(($RND_PORT + 1))
10 echo "FWD_PORT=$FWD_PORT" >> .tpkg.var.test
14 $LDNS_TESTNS -p $FWD_PORT 08-host-lib.testns >fwd.log 2>&1 &
16 echo "FWD_PID=$FWD_PID" >> .tpkg.var.test
19 wait_ldns_testns_up fwd.log