MaxScale/maxscale-system-test/non_native_setup.cpp
Niclas Antti c447e5cf15 Uncrustify maxscale
See script directory for method. The script to run in the top level
MaxScale directory is called maxscale-uncrustify.sh, which uses
another script, list-src, from the same directory (so you need to set
your PATH). The uncrustify version was 0.66.
2018-09-09 22:26:19 +03:00

31 lines
569 B
C++

/**
* @file Simple dummy configuration program for non-C++ tests
* - Configure Maxscale (prepare maxscale.cnf and copy it to Maxscale machine)
* - check backends
* - try to restore broken backends
*/
#include <iostream>
#include <unistd.h>
#include "testconnections.h"
using namespace std;
int main(int argc, char* argv[])
{
if (argc < 2)
{
return 1;
}
int local_argc = argc - 1;
char** local_argv = &argv[1];
TestConnections* Test = new TestConnections(local_argc, local_argv);
(void)Test;
sleep(3);
return 0;
}