MaxScale/maxscale-system-test/binlog_incompl.cpp
Markus Mäkelä 4b6aab1417
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.
2018-11-19 20:02:11 +02:00

24 lines
504 B
C++

/**
* @file setup_incompl trying to start binlog setup with incomplete Maxscale.cnf
* check for crash
*/
#include <iostream>
#include "testconnections.h"
#include "maxadmin_operations.h"
#include "sql_t1.h"
int main(int argc, char* argv[])
{
TestConnections* Test = new TestConnections(argc, argv);
Test->set_timeout(60);
Test->maxscales->connect_maxscale(0);
Test->maxscales->close_maxscale_connections(0);
int rval = Test->global_result;
delete Test;
return rval;
}