MXS-2304 Clean up configuration serialization

The parameters are now written in the order they appear in the module
parameter definitions. Also enabled a previously disabled part in
server unit test.
This commit is contained in:
Esa Korhonen
2019-03-07 12:03:28 +02:00
parent f05a2317d9
commit e7abc53b70
7 changed files with 67 additions and 72 deletions

View File

@ -149,12 +149,9 @@ bool test_serialize()
TEST(created->serialize(), "Failed to synchronize the copied server");
/** Check that they serialize to identical files */
// TODO: Disabled for now. Enable once config parameters are kept in a well-defined order.
/*
char cmd[1024];
sprintf(cmd, "diff ./%s ./%s", config_name, old_config_name);
TEST(system(cmd) == 0, "The files are not identical");
*/
return true;
}