From: Stefan Metzmacher Date: Tue, 23 Jun 2020 13:56:34 +0000 (+0200) Subject: selftest/Samba3: make use of 'smbd:FSCTL_SMBTORTURE = yes' X-Git-Tag: samba-4.13.0rc1~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=883657a7cfe0788b8c82b58a0379a8ea724df72a;p=thirdparty%2Fsamba.git selftest/Samba3: make use of 'smbd:FSCTL_SMBTORTURE = yes' This makes sure the lease/oplock break retry logic based on missing TCP acks is tested. We're still not able to run multichannel tests automatically, as socket wrapper doesn't support fd-passing yet. But this testing this with single channels is a good start. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11897 Signed-off-by: Stefan Metzmacher Reviewed-by: Günther Deschner --- diff --git a/selftest/knownfail.d/smb2-break-retry b/selftest/knownfail.d/smb2-break-retry deleted file mode 100644 index a55e828a700..00000000000 --- a/selftest/knownfail.d/smb2-break-retry +++ /dev/null @@ -1 +0,0 @@ -^samba3.smb2.oplock.batch22b.nt4_dc diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 2e2f74efb79..79feaa188ed 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -2204,6 +2204,7 @@ sub provision($$) bind interfaces only = yes panic action = cd $self->{srcdir} && $self->{srcdir}/selftest/gdb_backtrace %d %\$(MAKE_TEST_BINARY) smbd:suicide mode = yes + smbd:FSCTL_SMBTORTURE = yes client min protocol = SMB2_02 server min protocol = SMB2_02