self.assertTrue(" DNS deletes needed" in out)
except samba.tests.BlackboxProcessError:
pass
- out = self.check_output("samba_dnsupdate --verbose --use-nsupdate --current-ip=10.0.0.1")
+
+ try:
+ out = self.check_output("samba_dnsupdate --verbose --use-nsupdate --current-ip=10.0.0.1")
+ except samba.tests.BlackboxProcessError:
+ self.fail("Error calling samba_dnsupdate")
+
self.assertTrue("No DNS updates needed" in out)
- out = self.check_output("samba_dnsupdate --verbose --use-samba-tool --rpc-server-ip=%s" % self.server_ip)
+ try:
+ out = self.check_output("samba_dnsupdate --verbose --use-samba-tool --rpc-server-ip=%s" % self.server_ip)
+ except samba.tests.BlackboxProcessError:
+ self.fail("Error calling samba_dnsupdate")
+
self.assertTrue(" DNS updates and" in out)
self.assertTrue(" DNS deletes needed" in out)
out = self.check_output("samba_dnsupdate --verbose")
# This test just is not reliable in finding the max search limit
#
^samba4.ldap.notification.python\(.*\).__main__.LDAPNotificationTest.test_max_search
+^samba.tests.blackbox.samba_dnsupdate.* # missing nsupdate on sn-devel