1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

r14967: load shared module torture test after we know where to search...

metze
(This used to be commit b2f4553154)
This commit is contained in:
Stefan Metzmacher 2006-04-07 18:02:51 +00:00 committed by Gerald (Jerry) Carter
parent 7672505c72
commit 35ee247487

View File

@ -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) {