From a565eff9699b7061236b753b6dc09bc36b837563 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 30 Nov 2010 12:48:51 +1100 Subject: wintest Allow 'samba-tool newuser' to run a few times waiting for the RID Set Pair-Programmed-With: Andrew Tridgell --- wintest/test-s4-howto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wintest') diff --git a/wintest/test-s4-howto.py b/wintest/test-s4-howto.py index d04cabbb3e..df2f253f4a 100755 --- a/wintest/test-s4-howto.py +++ b/wintest/test-s4-howto.py @@ -404,7 +404,7 @@ def test_dcpromo(t, vm): child.expect("was successful") t.info("Checking if new users propogate to windows") - t.run_cmd('bin/samba-tool newuser test2 ${PASSWORD2}') + t.retry_cmd('bin/samba-tool newuser test2 ${PASSWORD2}', ["created successfully"]) t.retry_cmd("bin/smbclient -L ${WIN_HOSTNAME}.${LCREALM} -Utest2%${PASSWORD2} -k no", ['Sharename', 'Remote IPC']) t.retry_cmd("bin/smbclient -L ${WIN_HOSTNAME}.${LCREALM} -Utest2%${PASSWORD2} -k yes", ['Sharename', 'Remote IPC']) -- cgit