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:
dcfe4df
)
s4:torture:smb2:acls: prefer torture_comment() to printf().
author
Günther Deschner
<gd@samba.org>
Mon, 22 Feb 2016 15:27:44 +0000
(16:27 +0100)
committer
Günther Deschner
<gd@samba.org>
Wed, 7 Sep 2016 10:09:17 +0000
(12:09 +0200)
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
source4/torture/smb2/acls.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/acls.c
b/source4/torture/smb2/acls.c
index 8066bc9d6dcb5d3b294111860ee9486ca5987d62..d4c575b9fa7f23c634006920f2c844f3733fbc3e 100644
(file)
--- a/
source4/torture/smb2/acls.c
+++ b/
source4/torture/smb2/acls.c
@@
-1887,8
+1887,8
@@
static bool torture_smb2_con_share(struct torture_context *tctx,
lpcfg_gensec_settings(tctx, tctx->lp_ctx)
);
if (!NT_STATUS_IS_OK(status)) {
-
printf(
"Failed to connect to SMB2 share \\\\%s\\%s - %s\n",
- host, share, nt_errstr(status));
+
torture_comment(tctx,
"Failed to connect to SMB2 share \\\\%s\\%s - %s\n",
+ host, share, nt_errstr(status));
return false;
}
return true;