MXS-1717: Fix test regressions
Due to the changes done for MXS-1717, the bug673 test had to be adjusted and a newline has to be printed after users_diagnostic is called.
This commit is contained in:
@ -18,9 +18,9 @@ int main(int argc, char *argv[])
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
char result[1024];
|
||||
test.add_result(test.maxscales->get_maxadmin_param(0, "show dbusers \"RW Split Router\"", "User names:", result),
|
||||
test.add_result(test.maxscales->ssh_node_f(0, true, "maxadmin show dbusers \"RW Split Router\"|grep 'User names'"),
|
||||
"Old style objects in maxadmin commands should succeed");
|
||||
test.add_result(test.maxscales->get_maxadmin_param(0, "show dbusers RW-Split-Router", "User names:", result),
|
||||
test.add_result(test.maxscales->ssh_node_f(0, true, "maxadmin show dbusers RW-Split-Router|grep 'User names'"),
|
||||
"New style objects in maxadmin commands should succeed");
|
||||
}
|
||||
|
||||
|
@ -523,10 +523,7 @@ void dcb_PrintAdminUsers(DCB *dcb)
|
||||
{
|
||||
users_diagnostic(dcb, linux_users);
|
||||
}
|
||||
else
|
||||
{
|
||||
dcb_printf(dcb, "\n");
|
||||
}
|
||||
|
||||
dcb_printf(dcb, "Created network accounts (insecure): ");
|
||||
|
||||
@ -534,8 +531,5 @@ void dcb_PrintAdminUsers(DCB *dcb)
|
||||
{
|
||||
users_diagnostic(dcb, inet_users);
|
||||
}
|
||||
else
|
||||
{
|
||||
dcb_printf(dcb, "\n");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user