1
0
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:
Stefan Metzmacher 2011-07-23 09:10:09 +02:00
parent 1832c95910
commit 4971a0a2bc

View File

@ -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");
}