diff options
author | Michael Adam <obnox@samba.org> | 2012-08-08 11:32:55 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-08-09 15:29:45 +0200 |
commit | 5b1afa63073155eab7035b7f7a5cf1fc1f62dc3d (patch) | |
tree | 91f86846ff0f798ca31c1b2115856c64a3a4fec5 | |
parent | 2f7a371b92b05b080bdd530ad9fca437d50d13a6 (diff) | |
download | samba-5b1afa63073155eab7035b7f7a5cf1fc1f62dc3d.tar.gz samba-5b1afa63073155eab7035b7f7a5cf1fc1f62dc3d.tar.bz2 samba-5b1afa63073155eab7035b7f7a5cf1fc1f62dc3d.zip |
s3:torture:delete: move the success message for a subtest to the correct place
-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); |