From cc7ceace7dcaade77e7197e9ca2cd916edb7e51a Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Thu, 16 Jul 2020 15:47:58 -0700 Subject: [PATCH] add more logging to the shutdown system test the test server running in shutdown/resolver was not logging any debug info, which made it difficult to diagnose test failures. --- bin/tests/system/shutdown/clean.sh | 5 ++--- bin/tests/system/shutdown/resolver/named.conf.in | 8 ++++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/bin/tests/system/shutdown/clean.sh b/bin/tests/system/shutdown/clean.sh index f977c772e8..0bb926ec77 100644 --- a/bin/tests/system/shutdown/clean.sh +++ b/bin/tests/system/shutdown/clean.sh @@ -8,11 +8,10 @@ # information regarding copyright ownership. rm -f ns*/*.jnl -rm -f ns*/named.conf rm -f ns*/named.lock rm -f ns*/named.memstats -rm -f ns*/named.run rm -f ns*/rpz*.txt -rm -f resolver/named.conf +rm -f */named.conf +rm -f */named.run rm -rf __pycache__ rm -f *.status diff --git a/bin/tests/system/shutdown/resolver/named.conf.in b/bin/tests/system/shutdown/resolver/named.conf.in index 8ad14f408b..d03539003c 100644 --- a/bin/tests/system/shutdown/resolver/named.conf.in +++ b/bin/tests/system/shutdown/resolver/named.conf.in @@ -1,3 +1,11 @@ +logging { + channel basic { + file "named.run"; + severity debug 999; + print-time yes; + }; + category default { basic; }; +}; key rndc_key { secret "1234abcd8765"; algorithm hmac-sha256;