From e9e109979c557965ed5071abc6b71c66573ca603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Mon, 22 Feb 2016 15:51:06 +0100 Subject: s4:torture:smb2:getinfo: prefer torture_comment() to printf(). Guenther Signed-off-by: Guenther Deschner Reviewed-by: Uri Simchoni --- source4/torture/smb2/getinfo.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source4/torture/smb2/getinfo.c') diff --git a/source4/torture/smb2/getinfo.c b/source4/torture/smb2/getinfo.c index 82eda75abd1..ead401a9a16 100644 --- a/source4/torture/smb2/getinfo.c +++ b/source4/torture/smb2/getinfo.c @@ -94,7 +94,7 @@ static bool torture_smb2_fileinfo(struct torture_context *tctx, struct smb2_tree torture_assert_ntstatus_ok(tctx, status, "Unable to create test dir " DNAME "\n"); - printf("Testing file info levels\n"); + torture_comment(tctx, "Testing file info levels\n"); torture_smb2_all_info(tree, hfile); torture_smb2_all_info(tree, hdir); @@ -181,7 +181,7 @@ static bool torture_smb2_fsinfo(struct torture_context *tctx) NTSTATUS status; struct smb2_handle handle; - printf("Testing fsinfo levels\n"); + torture_comment(tctx, "Testing fsinfo levels\n"); ret = torture_smb2_connection(tctx, &tree); torture_assert(tctx, ret, "connection failed"); @@ -267,7 +267,7 @@ static bool torture_smb2_qfs_buffercheck(struct torture_context *tctx) { 11, 28 }, }; - printf("Testing SMB2_GETINFO_FS buffer sizes\n"); + torture_comment(tctx, "Testing SMB2_GETINFO_FS buffer sizes\n"); ret = torture_smb2_connection(tctx, &tree); torture_assert(tctx, ret, "connection failed"); @@ -331,7 +331,7 @@ static bool torture_smb2_qfile_buffercheck(struct torture_context *tctx) { 35, 8 }, }; - printf("Testing SMB2_GETINFO_FILE buffer sizes\n"); + torture_comment(tctx, "Testing SMB2_GETINFO_FILE buffer sizes\n"); ret = torture_smb2_connection(tctx, &tree); torture_assert(tctx, ret, "connection failed"); @@ -397,7 +397,7 @@ static bool torture_smb2_qsec_buffercheck(struct torture_context *tctx) NTSTATUS status; struct smb2_handle handle; - printf("Testing SMB2_GETINFO_SECURITY buffer sizes\n"); + torture_comment(tctx, "Testing SMB2_GETINFO_SECURITY buffer sizes\n"); ret = torture_smb2_connection(tctx, &tree); torture_assert(tctx, ret, "connection failed"); -- cgit v1.2.1