mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
s3:torture:delete: untangle function call from result check
This commit is contained in:
parent
8684506478
commit
361429d02f
@ -3885,7 +3885,8 @@ static bool run_deletetest(int dummy)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
if (NT_STATUS_IS_OK(cli_openx(cli1, fname, O_RDWR, DENY_NONE, &fnum1))) {
|
||||
status = cli_openx(cli1, fname, O_RDWR, DENY_NONE, &fnum1);
|
||||
if (NT_STATUS_IS_OK(status)) {
|
||||
printf("[1] open of %s succeeded (should fail)\n", fname);
|
||||
correct = False;
|
||||
goto fail;
|
||||
|
Loading…
Reference in New Issue
Block a user