From: Gary Lockyer Date: Tue, 5 Sep 2017 00:31:52 +0000 (+1200) Subject: selftest: set ad_dc process model to prefork X-Git-Tag: tevent-0.9.34~171 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1d0302871a2ab253128ecfff4a3a6e0b1233472b;p=thirdparty%2Fsamba.git selftest: set ad_dc process model to prefork Set the process model for ad_dc to prefork, so that the pre-fork gets exercised during self test. Signed-off-by: Gary Lockyer Reviewed-by: Andrew Bartlett Reviewed-by: Garming Sam --- diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index ea23c66c3dc..8b2af7ff063 100755 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -619,6 +619,8 @@ sub provision_raw_step1($$) dreplsrv:periodic_startup_interval = 0 dsdb:schema update allowed = yes + prefork children = 4 + vfs objects = dfs_samba4 acl_xattr fake_acls xattr_tdb streams_depot idmap_ldb:use rfc2307=yes @@ -2575,7 +2577,7 @@ sub setup_ad_dc_no_ntlm($$) return undef; } - if (not defined($self->check_or_start($env, "single"))) { + if (not defined($self->check_or_start($env, "prefork"))) { return undef; }