From 35ee2474874676184ec94d19f70e02b6459cfd9c Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 7 Apr 2006 18:02:51 +0000 Subject: r14967: load shared module torture test after we know where to search... metze (This used to be commit b2f45531544f52b63f61fc8224477e89eb3dca83) --- source4/torture/smbtorture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4') 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) { -- cgit