From: Pieter Lexis Date: Tue, 9 Apr 2019 14:34:33 +0000 (+0200) Subject: Add root-zone testing X-Git-Tag: rec-4.2.0-rc1~26^2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f1ac51658d0990d3f7098d9926a959c673efaae;p=pdns Add root-zone testing --- diff --git a/.circleci/config.yml b/.circleci/config.yml index 14f30e719..e209390f6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -54,6 +54,9 @@ commands: skip: type: string default: "" + rootskip: + type: string + default: "" context: type: string default: "" @@ -82,6 +85,27 @@ commands: PDNSUTIL=<< parameters.prefix >>bin/pdnsutil \ PDNSCONTROL=<< parameters.prefix >>bin/pdns_control \ ./start-test-stop 5300 << parameters.context >> + - run: + workdir: ~/project/regression-tests.rootzone + name: Run << parameters.context >> tests for the root zone + command: | + [ -e ../regression-tests/vars ] && . ../regression-tests/vars + rm -rf tests/*/skip + for t in << parameters.rootskip >> + do + touch tests/$t/skip + done + PDNS=<< parameters.prefix >>sbin/pdns_server \ + PDNS2=<< parameters.prefix >>sbin/pdns_server \ + SDIG=<< parameters.prefix >>bin/sdig \ + NOTIFY=<< parameters.prefix >>bin/pdns_notify \ + NSEC3DIG=<< parameters.prefix >>bin/nsec3dig \ + SAXFR=<< parameters.prefix >>bin/saxfr \ + ZONE2SQL=<< parameters.prefix >>bin/zone2sql \ + ZONE2LDAP=<< parameters.prefix >>bin/zone2ldap \ + PDNSUTIL=<< parameters.prefix >>bin/pdnsutil \ + PDNSCONTROL=<< parameters.prefix >>bin/pdns_control \ + ./start-test-stop 5300 << parameters.context >> install-recursor-deps: description: "Install all libraries needed for the recursor"