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

@ -40,7 +40,6 @@ void sleep(int s)
cout << endl;
}
}
namespace
@ -151,10 +150,10 @@ void run(TestConnections& test)
test.maxscales->wait_for_monitor();
expect(test, "server1", "Slave", "Running");
expect(test, "server1", "Slave", "Running");
expect(test, "server2", "Master", "Running");
expect(test, "server3", "Slave", "Running");
expect(test, "server4", "Slave", "Running");
expect(test, "server3", "Slave", "Running");
expect(test, "server4", "Slave", "Running");
cout << "\nResetting situation." << endl;
@ -165,11 +164,10 @@ void run(TestConnections& test)
test.maxscales->wait_for_monitor();
expect(test, "server1", "Master", "Running");
expect(test, "server2", "Slave", "Running");
expect(test, "server3", "Slave", "Running");
expect(test, "server4", "Slave", "Running");
expect(test, "server2", "Slave", "Running");
expect(test, "server3", "Slave", "Running");
expect(test, "server4", "Slave", "Running");
}
}
int main(int argc, char* argv[])
@ -183,4 +181,3 @@ int main(int argc, char* argv[])
return test.global_result;
}