s3-vfstest: fixed paths in vfstest
authorAndrew Tridgell <tridge@samba.org>
Thu, 9 Dec 2010 11:41:58 +0000 (22:41 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 10 Dec 2010 07:46:16 +0000 (08:46 +0100)
vfstest tries to create /messages.tdb as loadparm has not been
initialised

source3/torture/vfstest.c

index 3ebe63ee536e64dadd0610f05668e18a50b5958e..479bc86e4579a8767c66c517f53e5080e3eb5ca6 100644 (file)
@@ -457,6 +457,8 @@ int main(int argc, char *argv[])
 
        poptFreeContext(pc);
 
+       lp_load_initial_only(get_dyn_CONFIGFILE());
+
        /* TODO: check output */
        reload_services(smbd_messaging_context(), -1, False);