From: Samuel Cabrero Date: Tue, 15 Sep 2020 11:32:00 +0000 (+0200) Subject: selftest: set pid directory in client's smb.conf X-Git-Tag: talloc-2.3.2~478 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63b0d2dc7608ba30b1269a1937da1ac3ba3e40d3;p=thirdparty%2Fsamba.git selftest: set pid directory in client's smb.conf Set a pid file directory to avoid the following testparm error: ERROR: pid directory /usr/local/samba/var/run does not exist Signed-off-by: Samuel Cabrero Reviewed-by: David Disseldorp --- diff --git a/selftest/selftest.pl b/selftest/selftest.pl index 89f98d03d2b..6ea21fa6bfe 100755 --- a/selftest/selftest.pl +++ b/selftest/selftest.pl @@ -509,6 +509,7 @@ sub write_clientconf($$$) { name => "statedir", mask => 0777 }, { name => "cachedir", mask => 0777 }, { name => "pkinit", mask => 0700 }, + { name => "pid", mask => 0777 }, # the ncalrpcdir needs exactly 0755 otherwise tests fail. { name => "ncalrpcdir", mask => 0755, umask => 0022 }, ); @@ -573,6 +574,7 @@ sub write_clientconf($$$) state directory = $clientdir/statedir cache directory = $clientdir/cachedir ncalrpc dir = $clientdir/ncalrpcdir + pid directory = $clientdir/pid panic action = $RealBin/gdb_backtrace \%d max xmit = 32K notify:inotify = false