From 6e4bf59d802e72f84d5fc972af6d9c28f334ca93 Mon Sep 17 00:00:00 2001 From: Aravind Srinivasan Date: Tue, 8 Sep 2009 13:12:26 -0700 Subject: s4/torture: convert printf to torture_comment() Allows "make test" and other harnesses to print cleaner output. --- source4/torture/raw/oplock.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source4/torture/raw/oplock.c b/source4/torture/raw/oplock.c index 1eaa7e214b..581b8cdc00 100644 --- a/source4/torture/raw/oplock.c +++ b/source4/torture/raw/oplock.c @@ -2592,7 +2592,8 @@ static bool test_raw_oplock_batch22(struct torture_context *tctx, struct smbcli_ fnum = io.ntcreatex.out.file.fnum; CHECK_VAL(io.ntcreatex.out.oplock_level, BATCH_OPLOCK_RETURN); - torture_comment(tctx, "a 2nd open shoud not succeed after the oplock break timeout\n"); + torture_comment(tctx, "a 2nd open should not succeed after the oplock " + "break timeout\n"); tv = timeval_current(); smbcli_oplock_handler(cli1->transport, oplock_handler_timeout, cli1->tree); status = smb_raw_open(cli1->tree, tctx, &io); @@ -2606,7 +2607,8 @@ static bool test_raw_oplock_batch22(struct torture_context *tctx, struct smbcli_ CHECK_VAL(break_info.failures, 0); ZERO_STRUCT(break_info); - torture_comment(tctx, "a 2nd open shoud succeed after the oplock release without break\n"); + torture_comment(tctx, "a 2nd open should succeed after the oplock " + "release without break\n"); tv = timeval_current(); smbcli_oplock_handler(cli1->transport, oplock_handler_ack_to_given, cli1->tree); status = smb_raw_open(cli1->tree, tctx, &io); -- cgit