git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9582a48
)
s4.torture.smb2/session: Add torture assert for unlink
author
Anoop C S
<anoopcs@redhat.com>
Thu, 29 Oct 2015 14:50:52 +0000
(20:20 +0530)
committer
Michael Adam
<obnox@samba.org>
Sat, 31 Oct 2015 11:47:13 +0000
(12:47 +0100)
Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/torture/smb2/session.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/session.c
b/source4/torture/smb2/session.c
index f1d3b7f78b65c294ad1d3fa0a0205499dc3f7289..755f1a0167f446e883ef74a91b69db88789970a6 100644
(file)
--- a/
source4/torture/smb2/session.c
+++ b/
source4/torture/smb2/session.c
@@
-678,7
+678,10
@@
bool test_session_reauth5(struct torture_context *tctx, struct smb2_tree *tree)
snprintf(fname2, sizeof(fname2), "%s\\file2.dat", dname);
- smb2_util_unlink(tree, fname2);
+ status = smb2_util_unlink(tree, fname2);
+ torture_assert_ntstatus_ok_goto(tctx, status, ret, done,
+ "smb2_util_unlink failed");
+
ZERO_STRUCT(sfinfo);
sfinfo.rename_information.level = RAW_SFILEINFO_RENAME_INFORMATION;