From f775068c4091339cddb1fee278ac51423800c8cf Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Thu, 23 Feb 2017 22:20:39 +0100 Subject: [PATCH] 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 Reviewed-by: Stefan Metzmacher --- selftest/target/Samba3.pm | 4 ++++ source3/selftest/tests.py | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 0aa88ee05ca..c241bd14f8d 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -1979,6 +1979,10 @@ sub provision($$$$$$$$) copy = tmp kernel oplocks = yes vfs objects = streams_xattr xattr_tdb + +[compound_find] + copy = tmp + smbd:find async delay usec = 10000 "; close(CONF); diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py index 395943923da..9bb7903ac32 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -452,6 +452,10 @@ for t in tests: plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER/kernel_oplocks -U$USERNAME%$PASSWORD') elif t == "vfs.acl_xattr": 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: plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD') plansmbtorture4testsuite(t, "ad_dc", '//$SERVER/tmp -U$USERNAME%$PASSWORD')