 cd732ac14f
			
		
	
	cd732ac14f
	
	
	
		
			
			maxscale-system-test changed in order to control test environment by itself. Every test checks which machines are running, compare with list of needed machines and start new VMs is they are missing in the running machines list. Tests are executiong MDBCI commands, MDBCI executable should be in the PATH
		
			
				
	
	
		
			15 lines
		
	
	
		
			311 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			311 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include <iostream>
 | |
| #include <unistd.h>
 | |
| 
 | |
| using namespace std;
 | |
| 
 | |
| /**
 | |
|  * @brief execute_cmd Execute shell command
 | |
|  * @param cmd Command line
 | |
|  * @param res Pointer to variable that will contain command console output (stdout)
 | |
|  * @return Process exit code
 | |
|  */
 | |
| int execute_cmd(char * cmd, char ** res);
 |