git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f7a371
)
s3:torture:delete: move the success message for a subtest to the correct place
author
Michael Adam
<obnox@samba.org>
Wed, 8 Aug 2012 09:32:55 +0000
(11:32 +0200)
committer
Michael Adam
<obnox@samba.org>
Thu, 9 Aug 2012 13:29:45 +0000
(15:29 +0200)
source3/torture/torture.c
patch
|
blob
|
history
diff --git
a/source3/torture/torture.c
b/source3/torture/torture.c
index 243a8a7f44b168a7b85b5ae33c80dae763d5aeb9..2d618de9386e2b555a888005c74072128b2f39d6 100644
(file)
--- 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);