diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-04-07 18:02:51 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:00:47 -0500 |
commit | 35ee2474874676184ec94d19f70e02b6459cfd9c (patch) | |
tree | c813ac1656870678c93c043f743fcb6f123c956f | |
parent | 7672505c72c34a5e35dc05cf3fdc0d49e974a690 (diff) | |
download | samba-35ee2474874676184ec94d19f70e02b6459cfd9c.tar.gz samba-35ee2474874676184ec94d19f70e02b6459cfd9c.tar.bz2 samba-35ee2474874676184ec94d19f70e02b6459cfd9c.zip |
r14967: load shared module torture test after we know where to search...
metze
(This used to be commit b2f45531544f52b63f61fc8224477e89eb3dca83)
-rw-r--r-- | source4/torture/smbtorture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c index 759be4cae9..984d6ed27a 100644 --- a/source4/torture/smbtorture.c +++ b/source4/torture/smbtorture.c @@ -281,8 +281,6 @@ const static struct torture_ui_ops std_ui_ops = { setbuffer(stdout, NULL, 0); #endif - torture_init(); - /* we are never interested in SIGPIPE */ BlockSignals(True,SIGPIPE); @@ -314,6 +312,7 @@ const static struct torture_ui_ops std_ui_ops = { default: d_printf("Invalid option %s: %s\n", poptBadOption(pc, 0), poptStrerror(opt)); + torture_init(); usage(pc); exit(1); } @@ -329,6 +328,7 @@ const static struct torture_ui_ops std_ui_ops = { alarm(max_runtime); } + torture_init(); ldb_global_init(); if (torture_seed == 0) { |