mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s3-torture: run_locktest7(): goto fail on read error
Signed-off-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
1832c95910
commit
4971a0a2bc
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user