From 2f7bc0e53d369fa687cc5ffb144fa262ac418e3a Mon Sep 17 00:00:00 2001 From: Deryck Hodge Date: Mon, 23 Jan 2006 00:19:45 +0000 Subject: r13072: Fix segfault in vfstest and smbtorture. deryck (This used to be commit 0fdb062f35b4c4b19bf4122d48a0b4edacfe74ca) --- source3/torture/torture.c | 2 ++ source3/torture/vfstest.c | 1 + 2 files changed, 3 insertions(+) diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 0bd9aa1728..e995c3cc58 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -4914,6 +4914,8 @@ static void usage(void) setbuffer(stdout, NULL, 0); #endif + load_case_tables(); + lp_load(dyn_CONFIGFILE,True,False,False); load_interfaces(); diff --git a/source3/torture/vfstest.c b/source3/torture/vfstest.c index b5ccf930bc..1914a4acb5 100644 --- a/source3/torture/vfstest.c +++ b/source3/torture/vfstest.c @@ -495,6 +495,7 @@ int main(int argc, char *argv[]) POPT_TABLEEND }; + load_case_tables(); setlinebuf(stdout); -- cgit