summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-08-30 14:09:10 +0200
committerAndreas Schneider <asn@samba.org>2012-08-30 15:42:58 +0200
commitbf36462555032a11b9399c0f89527bce63d8c5ca (patch)
tree10dadf8c0c2485856afc271a19205de7312b062b
parent5131359edae7a5c7092c0d41bb225941596ddcac (diff)
downloadsamba-bf36462555032a11b9399c0f89527bce63d8c5ca.tar.gz
samba-bf36462555032a11b9399c0f89527bce63d8c5ca.tar.bz2
samba-bf36462555032a11b9399c0f89527bce63d8c5ca.zip
selftest: Define the log directory for s3fs.
-rw-r--r--selftest/target/Samba4.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index 28b40added..77e3e74921 100644
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -478,6 +478,7 @@ sub provision_raw_prepare($$$$$$$$$$)
$ctx->{privatedir} = "$prefix_abs/private";
$ctx->{ncalrpcdir} = "$prefix_abs/ncalrpc";
$ctx->{lockdir} = "$prefix_abs/lockdir";
+ $ctx->{logdir} = "$prefix_abs/logs";
$ctx->{statedir} = "$prefix_abs/statedir";
$ctx->{cachedir} = "$prefix_abs/cachedir";
$ctx->{winbindd_socket_dir} = "$prefix_abs/winbindd_socket";
@@ -495,6 +496,7 @@ sub provision_raw_prepare($$$$$$$$$$)
push(@{$ctx->{directories}}, $ctx->{etcdir});
push(@{$ctx->{directories}}, $ctx->{piddir});
push(@{$ctx->{directories}}, $ctx->{lockdir});
+ push(@{$ctx->{directories}}, $ctx->{logdir});
push(@{$ctx->{directories}}, $ctx->{statedir});
push(@{$ctx->{directories}}, $ctx->{cachedir});
@@ -588,6 +590,7 @@ sub provision_raw_step1($$)
ldb:nosync = true
#We don't want to pass our self-tests if the PAC code is wrong
gensec:require_pac = true
+ log file = $ctx->{logdir}/log.\%m
log level = $ctx->{server_loglevel}
lanman auth = Yes
rndc command = true