Replace check_log_err with log_includes/log_excludes

The latter are more explicit and easier to understand at the call site.

Also removed the redundant crash checks via the log files.
This commit is contained in:
Markus Mäkelä
2018-11-16 12:32:19 +02:00
parent bc8db6d52c
commit 4b6aab1417
38 changed files with 61 additions and 150 deletions

View File

@ -295,8 +295,8 @@ int main(int argc, char* argv[])
Test->set_timeout(120);
Test->maxscales->restart_maxscale(0);
Test->check_log_err(0, (char*) "Loading database names", false);
Test->check_log_err(0, (char*) "Unknown column", false);
Test->log_excludes(0, "Loading database names");
Test->log_excludes(0, "Unknown column");
int rval = Test->global_result;
delete Test;