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:
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user