1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

s3:torture:delete: really fail the test in a failure case

This commit is contained in:
Michael Adam 2012-08-08 12:14:36 +02:00
parent 9058288d6a
commit e833141622

View File

@ -3928,10 +3928,10 @@ static bool run_deletetest(int dummy)
status = cli_close(cli1, fnum1);
if (!NT_STATUS_IS_OK(status)) {
printf("[2] close failed (%s)\n", nt_errstr(status));
correct = False;
goto fail;
}
cli_unlink(cli1, fname, FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_HIDDEN);
correct = False;
goto fail;
} else
printf("second delete on close test succeeded.\n");