From 4815480bb6ed44081076bac5471267609f7668cf Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 9 Nov 2004 09:26:47 +0000 Subject: 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) --- source4/torture/torture.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'source4/torture/torture.c') diff --git a/source4/torture/torture.c b/source4/torture/torture.c index daf2da9c03..ce8b79943d 100644 --- a/source4/torture/torture.c +++ b/source4/torture/torture.c @@ -2390,6 +2390,7 @@ static struct { {"BASE-CHARSET", torture_charset, 0}, {"BASE-CHKPATH", torture_chkpath_test, 0}, {"BASE-SECLEAK", torture_sec_leak, 0}, + {"BASE-DISCONNECT", torture_disconnect, 0}, /* benchmarking tests */ {"BENCH-HOLDCON", torture_holdcon, 0}, @@ -2633,8 +2634,6 @@ static BOOL is_binding_string(const char *binding_string) POPT_TABLEEND }; - smbtorture_init_subsystems; - setup_logging("smbtorture", DEBUG_STDOUT); #ifdef HAVE_SETBUFFER @@ -2673,6 +2672,10 @@ static BOOL is_binding_string(const char *binding_string) lp_load(dyn_CONFIGFILE,True,False,False); load_interfaces(); + + smbtorture_init_subsystems; + + if (torture_seed == 0) { torture_seed = time(NULL); } -- cgit