diff options
-rw-r--r-- | source3/torture/torture.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 243a8a7f44..2d618de938 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -4060,8 +4060,7 @@ static bool run_deletetest(int dummy) printf("[4] open - 3 of %s succeeded ! Should have failed.\n", fname ); correct = False; goto fail; - } else - printf("fourth delete on close test succeeded.\n"); + } status = cli_close(cli1, fnum1); if (!NT_STATUS_IS_OK(status)) { @@ -4070,6 +4069,8 @@ static bool run_deletetest(int dummy) goto fail; } + printf("fourth delete on close test succeeded.\n"); + /* Test 5 ... */ cli_setatr(cli1, fname, 0, 0); cli_unlink(cli1, fname, FILE_ATTRIBUTE_SYSTEM | FILE_ATTRIBUTE_HIDDEN); |