git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73d7fb0
)
r5641: Fix from James Peach @ SGI for oplock2 test.
author
Jeremy Allison
<jra@samba.org>
Thu, 3 Mar 2005 04:08:13 +0000
(
04:08
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:55:53 +0000
(10:55 -0500)
Jeremy.
(This used to be commit
69e99d97d1547ec8f8e7f9756b87f211c90557b6
)
source3/torture/torture.c
patch
|
blob
|
history
diff --git
a/source3/torture/torture.c
b/source3/torture/torture.c
index 84755a781a463f18067fd97ab6351b5bc51eccfb..37aefc55acfb2a5bc75c888ad0c05ee4cf2c541c 100644
(file)
--- a/
source3/torture/torture.c
+++ b/
source3/torture/torture.c
@@
-2666,9
+2666,10
@@
static BOOL run_oplock2(int dummy)
sleep(2);
- /* Ensure cli1 processes the break. */
+ /* Ensure cli1 processes the break. Empty file should always return 0
+ * bytes. */
- if (cli_read(cli1, fnum1, buf, 0, 4) !=
4
) {
+ if (cli_read(cli1, fnum1, buf, 0, 4) !=
0
) {
printf("read on fnum1 failed (%s)\n", cli_errstr(cli1));
correct = False;
}