27 lines
717 B
C++
27 lines
717 B
C++
/**
|
|
* @file max720_line_with_no_equal.cpp mxs720 regression case - first part: line without "=", second - weird lines ("MaxScale fails to start and doesn't log any useful message when there are spurious characters in the config file")
|
|
*
|
|
* - use incorrect maxscale.cnf
|
|
* - check log for error
|
|
*/
|
|
|
|
|
|
#include <iostream>
|
|
#include <unistd.h>
|
|
#include "testconnections.h"
|
|
|
|
using namespace std;
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
TestConnections * Test = new TestConnections(argc, argv);
|
|
Test->set_timeout(30);
|
|
Test->check_log_err(0, (char *) "Failed to pre-parse configuration file", true);
|
|
|
|
Test->check_maxscale_processes(0);
|
|
int rval = Test->global_result;
|
|
delete Test;
|
|
return rval;
|
|
}
|
|
|