git.samba.org
/
tridge
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1832c95
)
s3-torture: run_locktest7(): goto fail on read error
author
Stefan Metzmacher
<metze@samba.org>
Sat, 23 Jul 2011 07:10:09 +0000
(09:10 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Sat, 23 Jul 2011 07:10:09 +0000
(09:10 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/torture/torture.c
patch
|
blob
|
history
diff --git
a/source3/torture/torture.c
b/source3/torture/torture.c
index c2bc6d24812f4ec2c1da844526e3e52b71748cbc..f9d4628e8bc0c062c9546fc0ca0efedae85d3d63 100644
(file)
--- a/
source3/torture/torture.c
+++ b/
source3/torture/torture.c
@@
-2358,6
+2358,7
@@
static bool run_locktest7(int dummy)
if (cli_read_old(cli1, fnum1, buf, 130, 4) != 4) {
printf("pid2 unable to read the range 130:4, error was %s\n", cli_errstr(cli1));
+ goto fail;
} else {
printf("pid2 successfully read the range 130:4\n");
}