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.
This commit is contained in:
Niclas Antti
2018-09-09 22:26:19 +03:00
parent fa7ec95069
commit c447e5cf15
849 changed files with 35002 additions and 27238 deletions

View File

@ -1,5 +1,7 @@
/**
* @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")
* @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
@ -12,15 +14,14 @@
using namespace std;
int main(int argc, char *argv[])
int main(int argc, char* argv[])
{
TestConnections * Test = new TestConnections(argc, 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_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;
}