From 2f99d151739808620b73a1441deada7ee7dcf6cd Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Mon, 9 Nov 2020 17:12:02 +0100 Subject: [PATCH] remove outdated regression docs, fixes #7925 --- regression-tests/README.md | 62 +------------------------------------- 1 file changed, 1 insertion(+), 61 deletions(-) diff --git a/regression-tests/README.md b/regression-tests/README.md index 6f66b16fcb..f741723aad 100644 --- a/regression-tests/README.md +++ b/regression-tests/README.md @@ -23,8 +23,7 @@ tests. Automated tests --------------- -For a more hands-off approach, make sure PowerDNS is built with suitable -modules, and use: +Make sure PowerDNS is built with suitable modules, and use: ```sh ./start-test-stop 5300 gmysql @@ -69,65 +68,6 @@ compliance (except for one case). Study the diff output to be sure if there is a problem. -How to run ----------- - -See beyond this section for information on how to run automatically. - -First make sure PowerDNS has access to the testing zones, which are all -referred in the `named.conf` file. Use the `zone2sql` tool to create SQL and -feed it to your database if you want to test one of the sql backends. - -Run PowerDNS as (to test gmysql): - -```sh -../pdns/pdns_server --daemon=no --local-port=5300 --socket-dir=./ \ ---no-shuffle --launch=gmysql --gmysql-dbname=pdnstest --gmysql-user=root \ ---fancy-records --query-logging --loglevel=9 \ ---cache-ttl=0 --no-config -``` - -or (to test bind, without DNSSEC): -```sh -../pdns/pdns_server --daemon=no --local-port=5300 --socket-dir=./ \ ---no-shuffle --launch=bind --bind-config=./named.conf \ ---fancy-records --query-logging --loglevel=9 \ ---cache-ttl=0 --no-config -``` - -or (to test bind with DNSSEC): - -```sh -./bind-dnssec-setup -../pdns/pdns_server --daemon=no --local-port=5300 --socket-dir=./ \ ---no-shuffle --launch=bind --bind-config=./named.conf \ ---query-logging --loglevel=9 \ ---cache-ttl=0 --no-config -``` - -Or only sqlite3: -```sh -rm powerdns.sqlite3 -sqlite3 powerdns.sqlite3 < ../pdns/no-dnssec.schema.sqlite3.sql -sqlite3 powerdns.sqlite3 < ../pdns/dnssec.schema.sqlite3.sql -../pdns/backends/bind/zone2sql --named-conf=./named.conf --gsqlite \ ---transactions --dnssec | sqlite3 powerdns.sqlite3 -echo 'analyze;' | sqlite3 powerdns.sqlite3 - -../pdns/pdns_server --daemon=no --local-port=5300 --socket-dir=./ \ ---no-shuffle --launch=gsqlite3 \ ---gsqlite3-database=./powerdns.sqlite3 --gsqlite3-dnssec \ ---query-logging --loglevel=9 \ ---cache-ttl=0 --no-config -``` - -Set the `nameserver` and `port` variables to point to your pdns\_server -instance: - -```sh -nameserver=127.0.0.1 port=5300 ./runtests -``` - Analysing results ----------------- -- 2.47.2