summaryrefslogtreecommitdiff
path: root/source4/torture/smb2/smb2.c
diff options
context:
space:
mode:
authorAravind <aravind.srinivasan@isilon.com>2009-07-07 07:11:56 -0700
committerSteven Danneman <steven.danneman@isilon.com>2009-07-14 14:50:06 -0700
commit5334b79142e32c39c56cea2e9c0d5b08e2f217ca (patch)
tree7fb1a465520889fe41203af47ab8132446acaa96 /source4/torture/smb2/smb2.c
parent4b6401ab2cce8319abe0f8176bb460d51bd4a390 (diff)
downloadsamba-5334b79142e32c39c56cea2e9c0d5b08e2f217ca.tar.gz
samba-5334b79142e32c39c56cea2e9c0d5b08e2f217ca.tar.bz2
samba-5334b79142e32c39c56cea2e9c0d5b08e2f217ca.zip
torture/smb2: Adding SMB2 Directory enumeration torture tests.
* Most of the tests were ported from SMB torture tests. * Added one new tests which checks the behavior of the file_index field present in SMB2_FIND struct. * Added one new test to check the enumeration of directories containing lots of files (~2000 files) with name lengths varying from 1 to 200 char.
Diffstat (limited to 'source4/torture/smb2/smb2.c')
-rw-r--r--source4/torture/smb2/smb2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/smb2/smb2.c b/source4/torture/smb2/smb2.c
index a5730a7eb3..9766620867 100644
--- a/source4/torture/smb2/smb2.c
+++ b/source4/torture/smb2/smb2.c
@@ -141,6 +141,7 @@ NTSTATUS torture_smb2_init(void)
torture_suite_add_simple_test(suite, "NOTIFY", torture_smb2_notify);
torture_suite_add_suite(suite, torture_smb2_durable_open_init());
torture_suite_add_1smb2_test(suite, "OPLOCK-BATCH1", torture_smb2_oplock_batch1);
+ torture_suite_add_suite(suite, torture_smb2_dir_init());
torture_suite_add_suite(suite, torture_smb2_lease_init());
torture_suite_add_suite(suite, torture_smb2_compound_init());