diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-02-15 16:52:57 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-02-15 16:52:57 +1100 |
commit | 4c6ecb43949fd491939fd1392e22ab225c9e5342 (patch) | |
tree | e9f85e763a9f0ffcefeab53d3786a02a76ba6d46 /source4 | |
parent | 054bc11876c485173a2b11c4b6500e9120bb6e29 (diff) | |
download | samba-4c6ecb43949fd491939fd1392e22ab225c9e5342.tar.gz samba-4c6ecb43949fd491939fd1392e22ab225c9e5342.tar.bz2 samba-4c6ecb43949fd491939fd1392e22ab225c9e5342.zip |
fixed some options that could not be overridden on the command line
(This used to be commit eea486d8942fdda769684fa6e825c0f899cf3304)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/gentest.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/source4/torture/gentest.c b/source4/torture/gentest.c index 28cac81624..d5fc855f17 100644 --- a/source4/torture/gentest.c +++ b/source4/torture/gentest.c @@ -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; |