1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

s3:torture:delete: untangle function call from result check

This commit is contained in:
Michael Adam 2012-08-08 11:58:01 +02:00
parent 5138eb50a3
commit 02b092533a

View File

@ -4143,7 +4143,8 @@ static bool run_deletetest(int dummy)
goto fail;
}
if (!NT_STATUS_IS_OK(cli_nt_delete_on_close(cli1, fnum1, true))) {
status = cli_nt_delete_on_close(cli1, fnum1, true);
if (!NT_STATUS_IS_OK(status)) {
printf("[7] setting delete_on_close on file failed !\n");
correct = False;
goto fail;