summaryrefslogtreecommitdiff
path: root/source4/torture/smb2/getinfo.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2016-02-22 15:51:06 +0100
committerGünther Deschner <gd@samba.org>2016-09-07 12:09:16 +0200
commite9e109979c557965ed5071abc6b71c66573ca603 (patch)
treee29ca8b09d0c136b315d1fd6ce77bab6994ef95c /source4/torture/smb2/getinfo.c
parentd06d6bdc8ca6fb4ab8dbb7fcc05d357a2228d106 (diff)
downloadsamba-e9e109979c557965ed5071abc6b71c66573ca603.tar.gz
s4:torture:smb2:getinfo: prefer torture_comment() to printf().
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Uri Simchoni <uri@samba.org>
Diffstat (limited to 'source4/torture/smb2/getinfo.c')
-rw-r--r--source4/torture/smb2/getinfo.c10
1 files changed, 5 insertions, 5 deletions
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");