mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
selftest: avoid comparison against undefined value
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
7334d575a9
commit
131bfc8ce2
@ -304,7 +304,9 @@ sub setup_nt4_member
|
||||
print "PROVISIONING MEMBER...";
|
||||
|
||||
my $require_mutexes = "dbwrap_tdb_require_mutexes:* = yes";
|
||||
$require_mutexes = "" if ($ENV{SELFTEST_DONT_REQUIRE_TDB_MUTEX_SUPPORT} eq "1");
|
||||
if ($ENV{SELFTEST_DONT_REQUIRE_TDB_MUTEX_SUPPORT} // '' eq "1") {
|
||||
$require_mutexes = "";
|
||||
}
|
||||
|
||||
my $member_options = "
|
||||
security = domain
|
||||
|
@ -1790,7 +1790,9 @@ sub provision_ad_dc($$$$$$)
|
||||
my $conffile="$prefix_abs/etc/smb.conf";
|
||||
|
||||
my $require_mutexes = "dbwrap_tdb_require_mutexes:* = yes";
|
||||
$require_mutexes = "" if ($ENV{SELFTEST_DONT_REQUIRE_TDB_MUTEX_SUPPORT} eq "1");
|
||||
if ($ENV{SELFTEST_DONT_REQUIRE_TDB_MUTEX_SUPPORT} // '' eq "1") {
|
||||
$require_mutexes = "";
|
||||
}
|
||||
|
||||
my $config_h = {};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user