From: Ralph Boehme Date: Thu, 13 Jul 2017 14:01:53 +0000 (+0200) Subject: selftest: enable kernel change notifications in the fileserver environment X-Git-Tag: samba-4.6.9~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d052058b59d92793b4ee5feb60e16af4cda4e155;p=thirdparty%2Fsamba.git 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 Reviewed-by: Jeremy Allison (backported from commit fb8e0343ebebac322d545b54c33b3c1e7bcda393) --- diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index b3bcc8a60b4..66ac1e1f45f 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -781,6 +781,8 @@ sub setup_fileserver($$) push(@dirs,$tarmode_sharedir); my $fileserver_options = " + kernel change notify = yes + [lowercase] path = $lower_case_share_dir comment = smb username is [%U]