]> git.ipfire.org Git - thirdparty/pdns.git/blame - regression-tests.recursor-dnssec/runtests
Make the negcache forwarded zones aware
[thirdparty/pdns.git] / regression-tests.recursor-dnssec / runtests
CommitLineData
7568b07d
PL
1#!/bin/sh
2
ef5a5c88
PD
3PYTHON=${PYTHON:-python2}
4
7568b07d 5if [ ! -d .venv ]; then
ef5a5c88 6 virtualenv -p ${PYTHON} .venv
7568b07d
PL
7fi
8. .venv/bin/activate
9python -V
10pip install -r requirements.txt
11
12mkdir -p configs
13
cb54e9b5
PL
14[ -f ./vars ] && . ./vars
15
7568b07d
PL
16export PDNS=${PDNS:-${PWD}/../pdns/pdns_server}
17export PDNSUTIL=${PDNSUTIL:-${PWD}/../pdns/pdnsutil}
18export PDNSRECURSOR=${PDNSRECURSOR:-${PWD}/../pdns/recursordist/pdns_recursor}
19export RECCONTROL=${RECCONTROL:-${PWD}/../pdns/recursordist/rec_control}
cb54e9b5 20export LIBFAKETIME=${LIBFAKETIME:-/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1} # ubuntu default
7568b07d
PL
21
22export PREFIX=10.0.3
23
cb54e9b5 24
7568b07d
PL
25set -e
26if [ "${PDNS_DEBUG}" = "YES" ]; then
27 set -x
28fi
962a980d 29LD_PRELOAD="/usr/lib/authbind/libauthbind.so.1 ${LIBFAKETIME}" nosetests -I test_WellKnown.py --with-xunit $@