22 lines
		
	
	
		
			460 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			460 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /**
 | |
|  * @file setup_incompl trying to start binlog setup with incomplete Maxscale.cnf
 | |
|  * check for crash
 | |
|  */
 | |
| 
 | |
| 
 | |
| #include <iostream>
 | |
| #include <maxtest/testconnections.hh>
 | |
| 
 | |
| 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;
 | |
| }
 | 
