Adds support to error_log in the regression tests

This commit is contained in:
Felipe Zimmerle
2017-02-07 15:49:04 -03:00
committed by Felipe Zimmerle
parent ae8c2a4865
commit 795994bb0e
2 changed files with 24 additions and 2 deletions

View File

@@ -186,7 +186,7 @@ RegressionTest *RegressionTest::from_yajl_node(const yajl_val &node) {
u->debug_log = YAJL_GET_STRING(val2);
}
if (strcmp(key2, "error_log") == 0) {
u->error_log = yajl_array_to_str(val2);
u->error_log = YAJL_GET_STRING(val2);
}
if (strcmp(key2, "http_code") == 0) {
u->http_code = YAJL_GET_INTEGER(val2);