Commit 342873a1 authored by Jan Kadlec's avatar Jan Kadlec

tests-extra: check if zone generate was successful.

parent 9822a1ad
......@@ -94,7 +94,9 @@ class ZoneFile(object):
params = ["-s", "-3", "y" if nsec3 else "n", "-k", self.key_dir] \
+ params
if zone_generate.main(params) != 0:
raise OSError
except OSError:
raise Exception("Can't create zone file '%s'" % self.path)
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