Skip to content

Commit

Permalink
selftest: Disable full audit logging in selftest
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Jeremy Allison <[email protected]>
  • Loading branch information
chs authored and jrasamba committed Jul 13, 2016
1 parent b7d2132 commit f18a920
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions selftest/target/Samba3.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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
[vfs_aio_fork]
path = $prefix_abs/share
vfs objects = aio_fork
Expand Down

0 comments on commit f18a920

Please sign in to comment.