summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-01-28 11:59:26 +0100
committerStefan Metzmacher <metze@samba.org>2009-01-28 12:01:20 +0100
commitff39e0f6ddf59de2bef43744e295575824a759b6 (patch)
treec7dca79e84f45c935d105d9888af083cdece775f /selftest
parentab63bad94bfc378aca08d3314692de90e1aa1bf3 (diff)
downloadsamba-ff39e0f6ddf59de2bef43744e295575824a759b6.tar.gz
samba-ff39e0f6ddf59de2bef43744e295575824a759b6.tar.bz2
samba-ff39e0f6ddf59de2bef43744e295575824a759b6.zip
selftest: set 'lock dir' in client.conf
metze
Diffstat (limited to 'selftest')
-rwxr-xr-xselftest/selftest.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index 6f0883c585..d47261da79 100755
--- a/selftest/selftest.pl
+++ b/selftest/selftest.pl
@@ -552,6 +552,12 @@ sub write_clientconf($$)
mkdir("$prefix/client/private", 0777);
}
+ if ( -d "$prefix/client/lock" ) {
+ unlink <$prefix/client/lockdir/*>;
+ } else {
+ mkdir("$prefix/client/lockdir", 0777);
+ }
+
open(CF, ">$conffile");
print CF "[global]\n";
if (defined($ENV{VALGRIND})) {
@@ -580,6 +586,7 @@ sub write_clientconf($$)
}
print CF "
private dir = $prefix_abs/client/private
+ lock dir = $prefix_abs/client/lockdir
name resolve order = bcast
panic action = $RealBin/gdb_backtrace \%PID\% \%PROG\%
max xmit = 32K