summaryrefslogtreecommitdiff
path: root/source4/torture/raw
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-08-28 14:42:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:03:02 -0500
commit0e6773525fa9d3fe9b7559ab4067e088f8a934d8 (patch)
treefb9498c93995015771ba6dfd27ffcaa655f698a9 /source4/torture/raw
parent8277256cee6328a130e3a714579a4bc766d66b9b (diff)
downloadsamba-0e6773525fa9d3fe9b7559ab4067e088f8a934d8.tar.gz
samba-0e6773525fa9d3fe9b7559ab4067e088f8a934d8.tar.bz2
samba-0e6773525fa9d3fe9b7559ab4067e088f8a934d8.zip
r24741: More use of the torture API.
(This used to be commit de05c3651a6e9e6611b296873526afd9292327c1)
Diffstat (limited to 'source4/torture/raw')
-rw-r--r--source4/torture/raw/write.c4
1 files changed, 2 insertions, 2 deletions
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);