summaryrefslogtreecommitdiff
path: root/source4/torture/gentest.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-09 09:26:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:41 -0500
commit4815480bb6ed44081076bac5471267609f7668cf (patch)
tree66546c6401d73d8248c7ec51762cfe60711f4571 /source4/torture/gentest.c
parent3351f1aa8d0f96358d4550a154a63c7a1e542109 (diff)
downloadsamba-4815480bb6ed44081076bac5471267609f7668cf.tar.gz
samba-4815480bb6ed44081076bac5471267609f7668cf.tar.bz2
samba-4815480bb6ed44081076bac5471267609f7668cf.zip
r3633: - moved module init functions to after smb.conf and command line
parsing, so that module init can take account of lp_ parms (thats why gensec:krb5=no wasn't working) - added a BASE-DISCONNECT torture test that tests server response to clients disconnecting with open lock and open requests pending (This used to be commit 5205f598b8c0be6985e61cc842cc5da109ba5b7e)
Diffstat (limited to 'source4/torture/gentest.c')
-rw-r--r--source4/torture/gentest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/gentest.c b/source4/torture/gentest.c
index 563703bd2a..4d3820793f 100644
--- a/source4/torture/gentest.c
+++ b/source4/torture/gentest.c
@@ -2107,8 +2107,6 @@ static void usage(void)
setup_logging(argv[0], DEBUG_STDOUT);
- gentest_init_subsystems;
-
for (i=0;i<NSERVERS;i++) {
const char *share = argv[1+i];
if (!split_unc_name(share, &servers[i].server_name, &servers[i].share_name)) {
@@ -2185,6 +2183,8 @@ static void usage(void)
}
}
+ gentest_init_subsystems;
+
if (!servers[0].username) {
usage();
return -1;