mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
selftest: also run smb2.compound_find against share with async delay set
Add a share with "smbd:find async delay usec" set to 10000 and run the test smb2.compound_find added in the previous commit against this new share as well. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
26018947f9
commit
f775068c40
@ -1979,6 +1979,10 @@ sub provision($$$$$$$$)
|
|||||||
copy = tmp
|
copy = tmp
|
||||||
kernel oplocks = yes
|
kernel oplocks = yes
|
||||||
vfs objects = streams_xattr xattr_tdb
|
vfs objects = streams_xattr xattr_tdb
|
||||||
|
|
||||||
|
[compound_find]
|
||||||
|
copy = tmp
|
||||||
|
smbd:find async delay usec = 10000
|
||||||
";
|
";
|
||||||
close(CONF);
|
close(CONF);
|
||||||
|
|
||||||
|
@ -452,6 +452,10 @@ for t in tests:
|
|||||||
plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER/kernel_oplocks -U$USERNAME%$PASSWORD')
|
plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER/kernel_oplocks -U$USERNAME%$PASSWORD')
|
||||||
elif t == "vfs.acl_xattr":
|
elif t == "vfs.acl_xattr":
|
||||||
plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD')
|
plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD')
|
||||||
|
elif t == "smb2.compound_find":
|
||||||
|
plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER/compound_find -U$USERNAME%$PASSWORD')
|
||||||
|
plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD')
|
||||||
|
plansmbtorture4testsuite(t, "ad_dc", '//$SERVER/tmp -U$USERNAME%$PASSWORD')
|
||||||
else:
|
else:
|
||||||
plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD')
|
plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD')
|
||||||
plansmbtorture4testsuite(t, "ad_dc", '//$SERVER/tmp -U$USERNAME%$PASSWORD')
|
plansmbtorture4testsuite(t, "ad_dc", '//$SERVER/tmp -U$USERNAME%$PASSWORD')
|
||||||
|
Loading…
Reference in New Issue
Block a user