summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAravind Srinivasan <aravind.srinivasan@isilon.com>2009-11-17 15:23:23 -0800
committerSteven Danneman <steven.danneman@isilon.com>2009-11-17 17:06:26 -0800
commitf7e3809d66c54e26a7b8f8bc93b530bc9fc35f40 (patch)
treecaae92e462c215ec8f5e8267257cac53b46c1ac9 /lib
parentc14b0cea488f78fc2fb88646d0cc674c6154c008 (diff)
downloadsamba-f7e3809d66c54e26a7b8f8bc93b530bc9fc35f40.tar.gz
samba-f7e3809d66c54e26a7b8f8bc93b530bc9fc35f40.tar.bz2
samba-f7e3809d66c54e26a7b8f8bc93b530bc9fc35f40.zip
s4/torture: add a new ulong parameteric torture option
Diffstat (limited to 'lib')
-rw-r--r--lib/torture/torture.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/torture/torture.c b/lib/torture/torture.c
index 392cb0ad4c..672726ebf2 100644
--- a/lib/torture/torture.c
+++ b/lib/torture/torture.c
@@ -425,6 +425,14 @@ int torture_setting_int(struct torture_context *test, const char *name,
return lp_parm_int(test->lp_ctx, NULL, "torture", name, default_value);
}
+unsigned long torture_setting_ulong(struct torture_context *test,
+ const char *name,
+ unsigned long default_value)
+{
+ return lp_parm_ulong(test->lp_ctx, NULL, "torture", name,
+ default_value);
+}
+
double torture_setting_double(struct torture_context *test, const char *name,
double default_value)
{