s4-test: use --fail-immediately for samba_dnsupdate testing
authorAndrew Tridgell <tridge@samba.org>
Thu, 18 Nov 2010 04:27:20 +0000 (15:27 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 18 Nov 2010 22:12:26 +0000 (23:12 +0100)
source4/scripting/devel/wintest/test-howto.py

index c53fc519adc8aea505675359cbfc8a226d75cb75..d587529ea0ff2606fe3dedd68a2b835c297ebd7e 100755 (executable)
@@ -108,9 +108,9 @@ def test_kerberos(t):
 
 def test_dyndns(t):
     t.chdir('${PREFIX}')
-    t.cmd_contains("sbin/samba_dnsupdate", [])
+    t.run_cmd("sbin/samba_dnsupdate --fail-immediately")
     t.run_cmd("${RNDC} flush")
-    t.cmd_contains("sbin/samba_dnsupdate --verbose", ["No DNS updates needed"])
+
 
 def run_winjoin(t, vm):
     t.setwinvars(vm)