summaryrefslogtreecommitdiff
path: root/selftest/target
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2018-10-28 19:29:26 +0100
committerJeremy Allison <jra@samba.org>2018-11-02 21:21:14 +0100
commite37ff8c5fe18d400e378bf2591e209b30473d9f9 (patch)
tree540c2a50c3f8a4aae0eabb2590408a8a551a6a59 /selftest/target
parent35f9bc06722fb07143c832442d784beb204bd367 (diff)
downloadsamba-e37ff8c5fe18d400e378bf2591e209b30473d9f9.tar.gz
s4:torture/smb2/read: add test for cancelling SMB aio
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13667 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'selftest/target')
-rwxr-xr-xselftest/target/Samba3.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index f7957cf3a7d..f8fda35366b 100755
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -2250,6 +2250,12 @@ sub provision($$$$$$$$$)
kernel oplocks = no
posix locking = no
include = $libdir/delay_inject.conf
+
+[aio_delay_inject]
+ copy = tmp
+ vfs objects = delay_inject
+ delay_inject:pread_send = 2000
+ delay_inject:pwrite_send = 2000
";
close(CONF);