selftest: enable kernel change notifications in the fileserver environment
authorRalph Boehme <slow@samba.org>
Thu, 13 Jul 2017 14:01:53 +0000 (16:01 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 25 Aug 2017 23:15:09 +0000 (01:15 +0200)
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>
selftest/target/Samba3.pm

index 54da52b7fa22612ada1fba7965f604ce6213068f..45c00ba6e4dda1a53d67d5467b84e3b005112214 100755 (executable)
@@ -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