1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s4/torture: add a new ulong parameteric torture option

This commit is contained in:
Aravind Srinivasan 2009-11-17 15:23:23 -08:00 committed by Steven Danneman
parent c14b0cea48
commit f7e3809d66

View File

@ -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)
{