Regression tests: audit log compare support and test cases

This commit is contained in:
martinhsv
2019-12-19 10:53:19 -08:00
committed by Felipe Zimmerle
parent 7a48245aed
commit a1547eaa32
6 changed files with 136 additions and 1 deletions

View File

@@ -180,7 +180,7 @@ RegressionTest *RegressionTest::from_yajl_node(const yajl_val &node) {
yajl_val val2 = val->u.object.values[j];
if (strcmp(key2, "audit_log") == 0) {
u->audit_log = yajl_array_to_str(val2);
u->audit_log = YAJL_GET_STRING(val2);
}
if (strcmp(key2, "debug_log") == 0) {
u->debug_log = YAJL_GET_STRING(val2);