From f9be1d9cb4f2cb28818b817c5090ff0c13d6c191 Mon Sep 17 00:00:00 2001 From: Timofey Turenko Date: Mon, 7 Dec 2020 22:15:09 +0200 Subject: [PATCH] test_bad_config() return 1 when ssh result is 256 --- system-test/maxtest/src/testconnections.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-test/maxtest/src/testconnections.cc b/system-test/maxtest/src/testconnections.cc index 45ca74f2b..6a2d7fe5a 100644 --- a/system-test/maxtest/src/testconnections.cc +++ b/system-test/maxtest/src/testconnections.cc @@ -2171,7 +2171,7 @@ bool TestConnections::test_bad_config(int m, const string& config) true, "cp /tmp/maxscale.cnf /etc/maxscale.cnf; pkill -9 maxscale; " "maxscale -U maxscale -lstdout &> /dev/null && sleep 1 && pkill -9 maxscale"); - return ((ssh_rc == 0) or (ssh_rc >= 256)); + return ((ssh_rc == 0) || (ssh_rc == 256)); } int TestConnections::call_mdbci(const char* options) {