1
0
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:
Michael Adam 2012-08-08 11:55:46 +02:00
parent 8684506478
commit 361429d02f

View File

@ -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;