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:
parent
b5e9378e28
commit
5bc7c77cd8
@ -4113,7 +4113,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("[6] setting delete_on_close on file with no delete access succeeded - should fail !\n");
|
||||
correct = False;
|
||||
goto fail;
|
||||
|
Loading…
Reference in New Issue
Block a user