diff options
author | Andrew Bartlett <abartlet@samba.org> | 2014-05-24 09:44:58 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-06-04 03:22:25 +0200 |
commit | b2c0a6a8510a55899a20ff923ce865f1760e6984 (patch) | |
tree | 3e9d3b6d6d02d3ee20356ae0310260e467c239ac /selftest | |
parent | 34e8deccf989a43a811cb8e0a00fc82e67867b71 (diff) | |
download | samba-b2c0a6a8510a55899a20ff923ce865f1760e6984.tar.gz samba-b2c0a6a8510a55899a20ff923ce865f1760e6984.tar.xz samba-b2c0a6a8510a55899a20ff923ce865f1760e6984.zip |
selftest: Ensure winbindd is fully operating before running tests
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'selftest')
-rwxr-xr-x | selftest/target/Samba3.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index f50278345e..59ad4d5dcb 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -1301,7 +1301,7 @@ sub wait_for_start($$$$$) print "checking for winbindd\n"; my $count = 0; do { - $ret = system("SELFTEST_WINBINDD_SOCKET_DIR=" . $envvars->{SELFTEST_WINBINDD_SOCKET_DIR} . " " . Samba::bindir_path($self, "wbinfo") . " -p"); + $ret = system("SELFTEST_WINBINDD_SOCKET_DIR=" . $envvars->{SELFTEST_WINBINDD_SOCKET_DIR} . " " . Samba::bindir_path($self, "wbinfo") . " --ping-dc"); if ($ret != 0) { sleep(2); } |