- new mp::RouterFleXML(doc, factory, false, wrbuf_cstr(base_path));
- wrbuf_destroy(base_path);
-
- yaz_sc_running(s);
-
- yaz_daemon("metaproxy", mode, mode == YAZ_DAEMON_DEBUG ?
- handler_debug : handler_normal, router, pidfile, uid);
+ new mp::RouterFleXML(doc, factory, test_config, wrbuf_cstr(base_path));
+ if (!test_config)
+ {
+
+ yaz_sc_running(s);
+
+ yaz_daemon("metaproxy", mode, mode == YAZ_DAEMON_DEBUG ?
+ handler_debug : handler_normal, router, pidfile, uid);
+ }