git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02b0925
)
s3:torture:delete: untangle function call from result check
author
Michael Adam
<obnox@samba.org>
Wed, 8 Aug 2012 09:58:24 +0000
(11:58 +0200)
committer
Michael Adam
<obnox@samba.org>
Thu, 9 Aug 2012 13:26:09 +0000
(15:26 +0200)
source3/torture/torture.c
patch
|
blob
|
history
diff --git
a/source3/torture/torture.c
b/source3/torture/torture.c
index 4d747d2c42a2fee08752cb4ff52a970a59f7bf37..69287459c6114c958dc2f5ac3d41bfbd340e9d1d 100644
(file)
--- a/
source3/torture/torture.c
+++ b/
source3/torture/torture.c
@@
-4150,7
+4150,8
@@
static bool run_deletetest(int dummy)
goto fail;
}
- if (!NT_STATUS_IS_OK(cli_nt_delete_on_close(cli1, fnum1, false))) {
+ status = cli_nt_delete_on_close(cli1, fnum1, false);
+ if (!NT_STATUS_IS_OK(status)) {
printf("[7] unsetting delete_on_close on file failed !\n");
correct = False;
goto fail;