summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-08-08 11:32:55 +0200
committerMichael Adam <obnox@samba.org>2012-08-09 15:29:45 +0200
commit5b1afa63073155eab7035b7f7a5cf1fc1f62dc3d (patch)
tree91f86846ff0f798ca31c1b2115856c64a3a4fec5 /source3/torture
parent2f7a371b92b05b080bdd530ad9fca437d50d13a6 (diff)
downloadsamba-5b1afa63073155eab7035b7f7a5cf1fc1f62dc3d.tar.gz
samba-5b1afa63073155eab7035b7f7a5cf1fc1f62dc3d.tar.bz2
samba-5b1afa63073155eab7035b7f7a5cf1fc1f62dc3d.zip
s3:torture:delete: move the success message for a subtest to the correct place
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/torture.c5
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);