Update bug673 with new maxadmin behavior

Both the old and new style object names must work with MaxAdmin.
This commit is contained in:
Markus Mäkelä 2017-12-20 23:28:54 +02:00
parent c9aa504f50
commit 6b0c6ffa64

View File

@ -18,8 +18,8 @@ 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) == 0,
"Old style objects in maxadmin commands should fail");
test.add_result(test.maxscales->get_maxadmin_param(0, "show dbusers \"RW Split Router\"", "User names:", result),
"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),
"New style objects in maxadmin commands should succeed");
}