summaryrefslogtreecommitdiff
path: root/selftest/target
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2018-08-30 19:15:19 +0200
committerStefan Metzmacher <metze@samba.org>2018-09-05 13:31:44 +0200
commite667b1771584b37b59ceab20cddced3615cf7b8f (patch)
tree0330e19dc28538e8f271961a5af3e15f83ae36a3 /selftest/target
parent34eeed27d1293d9fc2c0dd5067a542ceb0797540 (diff)
downloadsamba-e667b1771584b37b59ceab20cddced3615cf7b8f.tar.gz
selftest: add a durable handle test with delayed disconnect
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13549 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> (cherry picked from commit 5508024a861e7c85e6c837552ad142aa1d5e8eca)
Diffstat (limited to 'selftest/target')
-rwxr-xr-xselftest/target/Samba3.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index f6f852dde06..ca0d8092c83 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -2199,6 +2199,14 @@ sub provision($$$$$$$$$)
copy = tmp
vfs objects = error_inject
include = $libdir/error_inject.conf
+
+[delay_inject]
+ copy = tmp
+ vfs objects = delay_inject
+ kernel share modes = no
+ kernel oplocks = no
+ posix locking = no
+ include = $libdir/delay_inject.conf
";
close(CONF);