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:
@ -10,9 +10,13 @@ int main(int argc, char** argv)
|
||||
{
|
||||
TestConnections test(argc, argv);
|
||||
|
||||
int rc = test.maxscales->ssh_node_f(0, true, "maxctrl alter monitor MySQL-Monitor not_a_parameter not_a_value|grep Error");
|
||||
int rc = test.maxscales->ssh_node_f(0,
|
||||
true,
|
||||
"maxctrl alter monitor MySQL-Monitor not_a_parameter not_a_value|grep Error");
|
||||
test.assert(rc == 0, "Altering unknown parameter should cause an error");
|
||||
rc = test.maxscales->ssh_node_f(0, true, "maxctrl alter monitor MySQL-Monitor ignore_external_masters on_sunday_afternoons|grep Error");
|
||||
rc = test.maxscales->ssh_node_f(0,
|
||||
true,
|
||||
"maxctrl alter monitor MySQL-Monitor ignore_external_masters on_sunday_afternoons|grep Error");
|
||||
test.assert(rc == 0, "Invalid parameter value should cause an error");
|
||||
|
||||
return test.global_result;
|
||||
|
||||
Reference in New Issue
Block a user