git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c28538
)
STEP99?? torture: HACK try max channels (windows allows 32)
author
Stefan Metzmacher
<metze@samba.org>
Wed, 25 Jun 2014 14:11:25 +0000
(16:11 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 10 Feb 2020 14:08:23 +0000
(15:08 +0100)
source4/torture/smb2/session.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/session.c
b/source4/torture/smb2/session.c
index b330c7e41a23a80cce5a37a28c3bf4e1c0bfbdc1..5615a66c71034a60cb9ecfd2ba2b6eae5a308da4 100644
(file)
--- a/
source4/torture/smb2/session.c
+++ b/
source4/torture/smb2/session.c
@@
-1759,6
+1759,9
@@
bool test_session_bind1(struct torture_context *tctx, struct smb2_tree *tree1)
smb2_util_oplock_level("b"),
"oplock_level incorrect");
+{int t; for (t=2; t < 256; t++) {
+ torture_comment(tctx, "channel[%d]\n", t);
+
status = smb2_connect(tctx,
host,
lpcfg_smb_ports(tctx->lp_ctx),
@@
-1834,6
+1837,8
@@
bool test_session_bind1(struct torture_context *tctx, struct smb2_tree *tree1)
status = smb2_util_unlink(tree2, fname);
torture_assert_ntstatus_ok_goto(tctx, status, ret, done,
"smb2_util_unlink failed");
+}}
+
ret = true;
done:
talloc_free(tree2);