summaryrefslogtreecommitdiff
path: root/source4/torture/raw/oplock.c
diff options
context:
space:
mode:
authorAravind Srinivasan <asrinivasan@isilon.com>2009-09-08 13:12:26 -0700
committerSteven Danneman <steven.danneman@isilon.com>2009-09-29 19:04:36 -0700
commit6e4bf59d802e72f84d5fc972af6d9c28f334ca93 (patch)
treeb6390394b6bbf1f9a54ddd69846add17a988ddf7 /source4/torture/raw/oplock.c
parent6c0abbdd350f9af5cfb59381efb80385e5d3a4f3 (diff)
downloadsamba-6e4bf59d802e72f84d5fc972af6d9c28f334ca93.tar.gz
samba-6e4bf59d802e72f84d5fc972af6d9c28f334ca93.tar.bz2
samba-6e4bf59d802e72f84d5fc972af6d9c28f334ca93.zip
s4/torture: convert printf to torture_comment()
Allows "make test" and other harnesses to print cleaner output.
Diffstat (limited to 'source4/torture/raw/oplock.c')
-rw-r--r--source4/torture/raw/oplock.c6
1 files 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);