fixed a unit test

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2018-09-29 08:54:22 +02:00
parent 084d578273
commit d6ab3d0c9a

View File

@ -104,7 +104,7 @@ static void test_archiving_rule(struct config *cfg){
initrules(data.archiving_rules); initrules(data.archiving_rules);
load_rules(&sdata, &data, data.archiving_rules, SQL_ARCHIVING_RULE_TABLE); load_rules(&sdata, data.archiving_rules, SQL_ARCHIVING_RULE_TABLE);
for(i=0; i<sizeof(rule_test)/sizeof(struct rule_test); i++){ for(i=0; i<sizeof(rule_test)/sizeof(struct rule_test); i++){