diff options
author | Aravind Srinivasan <aravind.srinivasan@isilon.com> | 2009-11-17 15:23:23 -0800 |
---|---|---|
committer | Steven Danneman <steven.danneman@isilon.com> | 2009-11-17 17:06:26 -0800 |
commit | f7e3809d66c54e26a7b8f8bc93b530bc9fc35f40 (patch) | |
tree | caae92e462c215ec8f5e8267257cac53b46c1ac9 /lib/torture | |
parent | c14b0cea488f78fc2fb88646d0cc674c6154c008 (diff) | |
download | samba-f7e3809d66c54e26a7b8f8bc93b530bc9fc35f40.tar.gz |
s4/torture: add a new ulong parameteric torture option
Diffstat (limited to 'lib/torture')
-rw-r--r-- | lib/torture/torture.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/torture/torture.c b/lib/torture/torture.c index 392cb0ad4c0..672726ebf2f 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) { |