From 498f3c8e5fb64e566ee783893c9e0663add3b25f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 18 Nov 2010 15:27:20 +1100 Subject: s4-test: use --fail-immediately for samba_dnsupdate testing --- source4/scripting/devel/wintest/test-howto.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/scripting/devel') diff --git a/source4/scripting/devel/wintest/test-howto.py b/source4/scripting/devel/wintest/test-howto.py index c53fc519ad..d587529ea0 100755 --- a/source4/scripting/devel/wintest/test-howto.py +++ b/source4/scripting/devel/wintest/test-howto.py @@ -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) -- cgit