mirror of
https://github.com/samba-team/samba.git
synced 2025-02-24 13:57:43 +03:00
fixed some options that could not be overridden on the command line
(This used to be commit eea486d8942fdda769684fa6e825c0f899cf3304)
This commit is contained in:
parent
054bc11876
commit
4c6ecb4394
@ -2200,6 +2200,9 @@ static bool split_unc_name(const char *unc, char **server, char **share)
|
||||
|
||||
setlinebuf(stdout);
|
||||
options.seed = time(NULL);
|
||||
options.numops = 1000;
|
||||
options.max_open_handles = 20;
|
||||
options.seeds_file = "gentest_seeds.dat";
|
||||
|
||||
pc = poptGetContext("gentest", argc, (const char **) argv, long_options,
|
||||
POPT_CONTEXT_KEEP_FIRST);
|
||||
@ -2265,16 +2268,6 @@ static bool split_unc_name(const char *unc, char **server, char **share)
|
||||
}
|
||||
}
|
||||
|
||||
argc -= NSERVERS;
|
||||
argv += NSERVERS;
|
||||
|
||||
lp_load(lp_ctx, dyn_CONFIGFILE);
|
||||
|
||||
options.seed = time(NULL);
|
||||
options.numops = 1000;
|
||||
options.max_open_handles = 20;
|
||||
options.seeds_file = "gentest_seeds.dat";
|
||||
|
||||
if (username_count == 0) {
|
||||
usage(pc);
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user