diff options
author | Stefan Metzmacher <metze@samba.org> | 2020-06-23 15:56:34 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2020-07-08 15:54:40 +0000 |
commit | 883657a7cfe0788b8c82b58a0379a8ea724df72a (patch) | |
tree | b4673288bb7bf54096671894d5c316eda39f86d8 /selftest | |
parent | bd1285d40d0671a0ba80b4143a871426f369a926 (diff) | |
download | samba-883657a7cfe0788b8c82b58a0379a8ea724df72a.tar.gz |
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 <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'selftest')
-rw-r--r-- | selftest/knownfail.d/smb2-break-retry | 1 | ||||
-rwxr-xr-x | selftest/target/Samba3.pm | 1 |
2 files changed, 1 insertions, 1 deletions
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 |