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:
1411c2d
)
Revert "smb2.connect loop"
master4-smb2
author
Stefan Metzmacher
<metze@samba.org>
Tue, 6 Mar 2012 19:19:46 +0000
(20:19 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 16 Jan 2018 06:45:49 +0000
(07:45 +0100)
This reverts commit
53854afecdb44d2c09a756d0e06a21ade429fa6e
.
source4/torture/smb2/connect.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/connect.c
b/source4/torture/smb2/connect.c
index 1a38f2127857e4ca31587fd1be54650da077a251..ecb4871026ec97761470c8dd4f99606039b7d6a7 100644
(file)
--- a/
source4/torture/smb2/connect.c
+++ b/
source4/torture/smb2/connect.c
@@
-120,17
+120,12
@@
static NTSTATUS torture_smb2_write(struct torture_context *tctx, struct smb2_tre
r.in.length = data.length;
r.in.offset = 0;
-while(true) {
status = smb2_read(tree, tree, &r);
if (!NT_STATUS_IS_OK(status)) {
torture_comment(tctx, "read failed - %s\n", nt_errstr(status));
return status;
}
- printf("."); fflush(stdout);
- smb_msleep(10000);
-}
-
if (data.length != r.out.data.length ||
memcmp(data.data, r.out.data.data, data.length) != 0) {
torture_comment(tctx, "read data mismatch\n");