From 6b0c6ffa64c4606068a70ff688bd0c8c6f94965c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Wed, 20 Dec 2017 23:28:54 +0200 Subject: [PATCH] Update bug673 with new maxadmin behavior Both the old and new style object names must work with MaxAdmin. --- maxscale-system-test/bug673.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maxscale-system-test/bug673.cpp b/maxscale-system-test/bug673.cpp index 51f9a9437..235fd9769 100644 --- a/maxscale-system-test/bug673.cpp +++ b/maxscale-system-test/bug673.cpp @@ -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"); }