summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2018-08-10 10:38:28 -0700
committerKarolin Seeger <kseeger@samba.org>2018-08-23 10:39:30 +0200
commita73d973f0869f2222b92723bf5acf86a9eaf4029 (patch)
tree7ee8b5db6f543f22ed49f290fca478bb48d9fcfd
parent0470afae4398c2bae388dd30d31d85bd6cf469c9 (diff)
downloadsamba-a73d973f0869f2222b92723bf5acf86a9eaf4029.tar.gz
selftest: Load time_audit and full_audit modules for all tests
Previously the only test was to load these modules to trigger the smb_vfs_assert_all_fns check. As these modules just pass through the calls, they can be loaded for all tests to ensure that the codepaths are exercised. This would have found the problem in smb_time_audit_offload_read_recv. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13568 Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Mon Aug 13 22:35:20 CEST 2018 on sn-devel-144 (cherry picked from commit a98f09a09db2fc7be85f9171b586e65344a39e92)
-rwxr-xr-xselftest/target/Samba3.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 39a8f49fa3a..9c41b8cdbf9 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -700,14 +700,10 @@ sub setup_simpleserver($$)
my $simpleserver_options = "
lanman auth = yes
ntlm auth = yes
- vfs objects = xattr_tdb streams_depot time_audit full_audit
+ vfs objects = xattr_tdb streams_depot
change notify = no
smb encrypt = off
- full_audit:syslog = no
- full_audit:success = none
- full_audit:failure = none
-
[vfs_aio_fork]
path = $prefix_abs/share
vfs objects = aio_fork
@@ -1641,7 +1637,11 @@ sub provision($$$$$$$$$)
dos filemode = yes
strict rename = yes
strict sync = yes
- vfs objects = acl_xattr fake_acls xattr_tdb streams_depot
+ vfs objects = acl_xattr fake_acls xattr_tdb streams_depot time_audit full_audit
+
+ full_audit:syslog = no
+ full_audit:success = none
+ full_audit:failure = none
printing = vlp
print command = $bindir_abs/vlp tdbfile=$lockdir/vlp.tdb print %p %s