From c77edea016b1df8357dfe273a2688612a51ade4b Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Thu, 30 Aug 2018 19:15:19 +0200 Subject: selftest: add a durable handle test with delayed disconnect Bug: https://bugzilla.samba.org/show_bug.cgi?id=13549 Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison (cherry picked from commit 5508024a861e7c85e6c837552ad142aa1d5e8eca) --- selftest/knownfail.d/samba3.blackbox | 1 + selftest/target/Samba3.pm | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 selftest/knownfail.d/samba3.blackbox (limited to 'selftest') 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 24d3d7d6dca..fdbf1fa9a9a 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -2175,6 +2175,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); -- cgit v1.2.1