#ifndef TEST_UTILS_H #define TEST_UTILS_H #include #include #include #include #include void init_test_env(char *path) { int argc = 3; const char* logdir = path ? path : TEST_LOG_DIR; char* argv[] = { "log_manager", "-l", "LOGFILE_ERROR", NULL }; skygw_logmanager_init(logdir, LOG_TARGET_DEFAULT, argc, argv); poll_init(); hkinit(); } #endif