Commit 4f32b2f3 authored by Daniel Salzman's avatar Daniel Salzman

tests-extra: add newline after new NSEC3PARAM record

parent 5f09a5ca
......@@ -114,6 +114,7 @@ class ZoneFile(object):
if cmd.returncode != 0:
set_err("DNSSEC VERIFY")
detail_log(err.strip())
self.backup()
detail_log(SEP)
......@@ -130,7 +131,7 @@ class ZoneFile(object):
'''Insert NSEC3PARAM record to the zone file.'''
with open(self.path, "a") as file:
file.write("@ 0 NSEC3PARAM 1 0 %i %s" % (iters, salt))
file.write("@ 0 NSEC3PARAM 1 0 %i %s\n" % (iters, salt))
self.update_soa()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment