summaryrefslogtreecommitdiff
path: root/selftest/target
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2017-07-13 16:01:53 +0200
committerJeremy Allison <jra@samba.org>2017-08-26 01:15:09 +0200
commitfb8e0343ebebac322d545b54c33b3c1e7bcda393 (patch)
tree984d281b464dd0c51fd6193fd57415e6d65fc96b /selftest/target
parent11ae26e6a688d5f86c2d03f171694fc28f0c6c89 (diff)
downloadsamba-fb8e0343ebebac322d545b54c33b3c1e7bcda393.tar.gz
selftest: enable kernel change notifications in the fileserver environment
This environment is currently not used for any test in the smb2 testsuite, so this change doesn't affect any existing test. A subsequent commit will add a test for change notifications with kernel change notify enabled. It verifies a bug (this one) that only crops up in such a setup and causes rename events to get lost. Bug: https://bugzilla.samba.org/show_bug.cgi?id=12903 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'selftest/target')
-rwxr-xr-xselftest/target/Samba3.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 54da52b7fa2..45c00ba6e4d 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -884,6 +884,8 @@ sub setup_fileserver($$)
push(@dirs,$usershare_sharedir);
my $fileserver_options = "
+ kernel change notify = yes
+
usershare path = $usershare_dir
usershare max shares = 10
usershare allow guests = yes