summaryrefslogtreecommitdiff
path: root/source4/torture/raw/setfileinfo.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-12-31 01:02:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:47 -0500
commit00c7f9eed81866568abe1ec8a908fb4bc9274b59 (patch)
tree8d20fc76c76752ea718417d7f953660d571b0ca2 /source4/torture/raw/setfileinfo.c
parentc4e152850dc3cce08bdf751f2ae78e4efdd66dd0 (diff)
downloadsamba-00c7f9eed81866568abe1ec8a908fb4bc9274b59.tar.gz
samba-00c7f9eed81866568abe1ec8a908fb4bc9274b59.tar.bz2
samba-00c7f9eed81866568abe1ec8a908fb4bc9274b59.zip
r4422: make lp_set_cmdline("torture:dangerous", "Yes") a bool parameter
metze (This used to be commit 19482a2245abbf9154423ca8997957b56333fba2)
Diffstat (limited to 'source4/torture/raw/setfileinfo.c')
-rw-r--r--source4/torture/raw/setfileinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/raw/setfileinfo.c b/source4/torture/raw/setfileinfo.c
index 298ccf674b..53fbf5a0f3 100644
--- a/source4/torture/raw/setfileinfo.c
+++ b/source4/torture/raw/setfileinfo.c
@@ -527,7 +527,7 @@ BOOL torture_raw_sfileinfo_bug(void)
NTSTATUS status;
int fnum;
- if (lp_parm_int(-1, "torture", "dangerous") != 1) {
+ if (!lp_parm_bool(-1, "torture", "dangerous", False)) {
printf("torture_raw_sfileinfo_bug disabled - enable dangerous tests to use\n");
return True;
}