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:56:17 +02:00
parent 361429d02f
commit b5e9378e28

View File

@ -4080,7 +4080,8 @@ static bool run_deletetest(int dummy)
/* This should fail - only allowed on NT opens with DELETE access. */
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("[5] setting delete_on_close on OpenX file succeeded - should fail !\n");
correct = False;
goto fail;