From: Stefan Metzmacher Date: Tue, 29 Apr 2025 14:20:35 +0000 (+0200) Subject: s3:selftest: run smb2.{bench,connect,credits,ioctl,rw} over quic_ko_wrapper X-Git-Tag: tdb-1.4.14~110 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=354b534fe03ae7e3f01b63da7dc5ee14220efa46;p=thirdparty%2Fsamba.git s3:selftest: run smb2.{bench,connect,credits,ioctl,rw} over quic_ko_wrapper Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme --- diff --git a/selftest/flapping.d/smb-over-quic b/selftest/flapping.d/smb-over-quic new file mode 100644 index 00000000000..c6b9fe8cb46 --- /dev/null +++ b/selftest/flapping.d/smb-over-quic @@ -0,0 +1,5 @@ +# +# quic_ko_wrapper is not 100% reliable, it would need +# helper threads in order to do background keepalives... +# +^samba3.smb2.bench.smb-over-quic-ko-bsd.oplock1.fileserver diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py index ec1c6a9d716..5df48fda3b7 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -108,6 +108,8 @@ with_pthreadpool = ("WITH_PTHREADPOOL" in config_hash) have_cluster_support = "CLUSTER_SUPPORT" in config_hash +quic_ko_wrapper = ("QUIC_KO_WRAPPER" in config_hash) + def is_module_enabled(module): if module in config_hash["STRING_SHARED_MODULES"]: return True @@ -1501,6 +1503,20 @@ for t in smb_transport_tests: '--option=clientsmbtransports=tcp ' + '--option=clientsmbtransport:force_bsd_tstream=yes', description="smb-over-bsd-tstream") +for t in smb_transport_tests: + if not quic_ko_wrapper: + break + plansmbtorture4testsuite(t, "fileserver:local", + '//$SERVER/tmp -U$USERNAME%$PASSWORD ' + + '--option=clientsmbtransports=quic ' + + '--option=tlsverifypeer=ca_and_name', + description="smb-over-quic-ko-bsd") + plansmbtorture4testsuite(t, "fileserver:local", + '//$SERVER/tmp -U$USERNAME%$PASSWORD ' + + '--option=clientsmbtransports=quic ' + + '--option=tlsverifypeer=ca_and_name ' + + '--option=clientsmbtransport:force_bsd_tstream=yes', + description="smb-over-quic-ko-tstream") test = 'rpc.lsa.lookupsids' auth_options = ["", "ntlm", "spnego", "spnego,ntlm", "spnego,smb1", "spnego,smb2"]