From 8e1a2edd94cd563fe1ae5798aad14588a1494484 Mon Sep 17 00:00:00 2001 From: zhengchao Date: Tue, 3 May 2016 15:32:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3test=E4=B8=AD=E4=B8=80?= =?UTF-8?q?=E5=A4=84=E7=AC=94=E8=AF=AF=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/maat_test.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/test/maat_test.cpp b/test/maat_test.cpp index 800320f..7f66b2c 100644 --- a/test/maat_test.cpp +++ b/test/maat_test.cpp @@ -429,15 +429,9 @@ int main(int argc,char* argv[]) scan_status_t mid=NULL; void *logger=MESA_create_runtime_log_handle(log_file,0); -/* feather=Maat_summon_feather_json(g_iThreadNum, - table_info_path, - json_path, - logger); -*/ -// feather=Maat_summon_feather(g_iThreadNum,table_info_path,ful_cfg_dir,inc_cfg_dir,logger); feather=Maat_feather(g_iThreadNum, table_info_path, logger); - Maat_set_feather_opt(feather, MAAT_OPT_JSON_FILE_PATH, json_path, sizeof(json_path)+1); - Maat_set_feather_opt(feather, MAAT_OPT_STAT_FILE_PATH, stat_file, strlen(stat_file)); + Maat_set_feather_opt(feather, MAAT_OPT_JSON_FILE_PATH, json_path, strlen(json_path)+1); + Maat_set_feather_opt(feather, MAAT_OPT_STAT_FILE_PATH, stat_file, strlen(stat_file)+1); Maat_set_feather_opt(feather, MAAT_OPT_STAT_ON, NULL, 0); Maat_set_feather_opt(feather, MAAT_OPT_PERF_ON, NULL, 0); Maat_set_feather_opt(feather, MAAT_OPT_SCAN_DETAIL, &scan_detail, sizeof(scan_detail));