summaryrefslogtreecommitdiffstats
path: root/selftest
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-05-24 09:44:58 +1200
committerAndrew Bartlett <abartlet@samba.org>2014-06-04 03:22:25 +0200
commitb2c0a6a8510a55899a20ff923ce865f1760e6984 (patch)
tree3e9d3b6d6d02d3ee20356ae0310260e467c239ac /selftest
parent34e8deccf989a43a811cb8e0a00fc82e67867b71 (diff)
downloadsamba-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-xselftest/target/Samba3.pm2
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);
}