From 0e6773525fa9d3fe9b7559ab4067e088f8a934d8 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 28 Aug 2007 14:42:37 +0000 Subject: r24741: More use of the torture API. (This used to be commit de05c3651a6e9e6611b296873526afd9292327c1) --- source4/torture/raw/write.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture/raw/write.c') diff --git a/source4/torture/raw/write.c b/source4/torture/raw/write.c index 75d275fc3c..b704a19ed6 100644 --- a/source4/torture/raw/write.c +++ b/source4/torture/raw/write.c @@ -237,9 +237,9 @@ static bool test_writex(struct torture_context *tctx, union smb_fileinfo finfo; int max_bits=63; - if (!lp_parm_bool(-1, "torture", "dangerous", False)) { + if (!torture_setting_bool(tctx, "dangerous", false)) { max_bits=33; - printf("dangerous not set - limiting range of test to 2^%d\n", max_bits); + torture_comment(tctx, "dangerous not set - limiting range of test to 2^%d\n", max_bits); } buf = talloc_zero_size(tctx, maxsize); -- cgit