summaryrefslogtreecommitdiff
path: root/source4/torture/masktest.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/masktest.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/masktest.c')
-rw-r--r--source4/torture/masktest.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/torture/masktest.c b/source4/torture/masktest.c
index bb0abf4b3e..c0890118c3 100644
--- a/source4/torture/masktest.c
+++ b/source4/torture/masktest.c
@@ -277,8 +277,6 @@ static void usage(void)
char *p;
int seed;
- masktest_init_subsystems;
-
setlinebuf(stdout);
setup_logging("masktest", DEBUG_STDOUT);
@@ -362,10 +360,11 @@ static void usage(void)
}
}
+ masktest_init_subsystems;
+
argc -= optind;
argv += optind;
-
cli = connect_one(share);
if (!cli) {
DEBUG(0,("Failed to connect to %s\n", share));