git.samba.org
/
gd
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r24741: More use of the torture API.
[gd/samba-autobuild/.git]
/
source4
/
torture
/
raw
/
write.c
diff --git
a/source4/torture/raw/write.c
b/source4/torture/raw/write.c
index 75d275fc3c54e21ad71dfe63b3e858e85652cc30..b704a19ed65c37b99672e25586611147478e6e8b 100644
(file)
--- 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;
union smb_fileinfo finfo;
int max_bits=63;
- if (!
lp_parm_bool(-1, "torture", "dangerous", F
alse)) {
+ if (!
torture_setting_bool(tctx, "dangerous", f
alse)) {
max_bits=33;
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);
}
buf = talloc_zero_size(tctx, maxsize);