[PATCH] selftest: Disable full audit logging in selftest

Christof Schmitt cs at samba.org
Mon Jul 11 18:44:53 UTC 2016

From 24144695ee043a714565786f4aa4b3284b6119ed Mon Sep 17 00:00:00 2001
From: Christof Schmitt <cs at samba.org>
Date: Mon, 11 Jul 2016 10:49:34 -0700
Subject: [PATCH] selftest: Disable full audit logging in selftest

Commit 6eba42f activated the full_audit and time_audit modules for the
simpleserver config to trigger the check that all VFS functions are
implemented in these two modules. This resulted in all operations being
logged to syslog during a test run.

Change the full_audit configuration to keep loading the modules, but not
log anything from full_audit to not slow down the test or spam the logs.

Signed-off-by: Christof Schmitt <cs at samba.org>
 selftest/target/Samba3.pm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 61ec986..a7d34df 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -553,6 +553,10 @@ sub setup_simpleserver($$)
 	vfs objects = xattr_tdb streams_depot time_audit full_audit
 	change notify = no
+	full_audit:syslog = no
+	full_audit:success = none
+	full_audit:failure = none
 	path = $prefix_abs/share
         vfs objects = aio_fork

More information about the samba-technical mailing list