This particular sub-part of the script isn't tested in 'make test' due
to it making real changes to DNS.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr 7 08:51:11 CEST 2011 on sn-devel-104
f.write("send\n")
f.close()
+ global error_count
os.environ["KRB5CCNAME"] = ccachename
try:
cmd = nsupdate_cmd[:]
cmd.append(tmpfile)
ret = subprocess.call(cmd, shell=False)
if ret != 0:
- global error_count
if opts.fail_immediately:
sys.exit(1)
error_count = error_count + 1
if opts.verbose:
print("Failed nsupdate: %d" % ret)
except Exception, estr:
- global error_count
if opts.fail_immediately:
sys.exit(1)
error_count = error_count + 1