diff options
author | Ralph Boehme <slow@samba.org> | 2018-08-30 19:15:19 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2018-09-05 13:31:44 +0200 |
commit | e667b1771584b37b59ceab20cddced3615cf7b8f (patch) | |
tree | 0330e19dc28538e8f271961a5af3e15f83ae36a3 /selftest | |
parent | 34eeed27d1293d9fc2c0dd5067a542ceb0797540 (diff) | |
download | samba-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')
-rw-r--r-- | selftest/knownfail.d/samba3.blackbox | 1 | ||||
-rwxr-xr-x | selftest/target/Samba3.pm | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/selftest/knownfail.d/samba3.blackbox b/selftest/knownfail.d/samba3.blackbox new file mode 100644 index 00000000000..b03a1ac09e2 --- /dev/null +++ b/selftest/knownfail.d/samba3.blackbox @@ -0,0 +1 @@ +^samba3.blackbox.durable_v2_delay.durable_v2_delay\(simpleserver:local\) 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); |