summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorDeryck Hodge <deryck@samba.org>2006-01-23 00:19:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:06:12 -0500
commit2f7bc0e53d369fa687cc5ffb144fa262ac418e3a (patch)
treef1adeefe1fba5d74d4ac90722abad75177c61f69 /source3/torture
parent0c42f4a5c0cc9ff6a6dc715cc5a70f2a589579ae (diff)
downloadsamba-2f7bc0e53d369fa687cc5ffb144fa262ac418e3a.tar.gz
samba-2f7bc0e53d369fa687cc5ffb144fa262ac418e3a.tar.bz2
samba-2f7bc0e53d369fa687cc5ffb144fa262ac418e3a.zip
r13072: Fix segfault in vfstest and smbtorture.
deryck (This used to be commit 0fdb062f35b4c4b19bf4122d48a0b4edacfe74ca)
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/torture.c2
-rw-r--r--source3/torture/vfstest.c1
2 files changed, 3 insertions, 0 deletions
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);