mirror of
https://gitlab.nic.cz/knot/knot-dns.git
synced 2026-02-14 00:03:31 -05:00
22 lines
313 B
Python
22 lines
313 B
Python
#!/usr/bin/env python3
|
|
|
|
'''Test for empty rdata loading.'''
|
|
|
|
from dnstest.test import Test
|
|
|
|
t = Test()
|
|
|
|
master = t.server("knot")
|
|
slave = t.server("knot")
|
|
zone = t.zone("empty.", storage=".")
|
|
|
|
t.link(zone, master, slave)
|
|
|
|
t.start()
|
|
|
|
master.zones_wait(zone)
|
|
slave.zones_wait(zone)
|
|
|
|
slave.flush(wait=True)
|
|
|
|
t.end()
|