diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-07-23 09:10:09 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-07-23 09:10:09 +0200 |
commit | 4971a0a2bc5cc75d0142829d0fc16f1f2a06af17 (patch) | |
tree | 948eb84aec1d79693c7f46d3fcfea35fb275415b /source3/torture | |
parent | 1832c9591099be941ef3afe7b0381c4af61f4728 (diff) | |
download | samba-4971a0a2bc5cc75d0142829d0fc16f1f2a06af17.tar.gz samba-4971a0a2bc5cc75d0142829d0fc16f1f2a06af17.tar.bz2 samba-4971a0a2bc5cc75d0142829d0fc16f1f2a06af17.zip |
s3-torture: run_locktest7(): goto fail on read error
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/torture.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index c2bc6d2481..f9d4628e8b 100644 --- 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"); } |