]>
git.ipfire.org Git - thirdparty/pdns.git/blob - regression-tests.recursor-dnssec/test_ZTC.py
6 from recursortests
import RecursorTest
8 class testZTC(RecursorTest
):
11 _config_template
= """
14 _lua_config_file
= """
15 zoneToCache(".", "axfr", "193.0.14.129") -- k-root
19 grepCmd
= ['grep', 'validationStatus="Secure"', 'configs/' + self
._confdir
+ '/recursor.log']
24 ret
= subprocess
.check_output(grepCmd
, stderr
=subprocess
.STDOUT
)
25 except subprocess
.CalledProcessError
as e
:
30 self
.assertNotEqual(ret
, b
'')