test_bad_config() return 1 when ssh result is 256
This commit is contained in:
		| @ -2171,7 +2171,7 @@ bool TestConnections::test_bad_config(int m, const string& config) | |||||||
|                                  true, |                                  true, | ||||||
|                                  "cp /tmp/maxscale.cnf /etc/maxscale.cnf; pkill -9 maxscale; " |                                  "cp /tmp/maxscale.cnf /etc/maxscale.cnf; pkill -9 maxscale; " | ||||||
|                                  "maxscale -U maxscale -lstdout &> /dev/null && sleep 1 && 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) | int TestConnections::call_mdbci(const char* options) | ||||||
| { | { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Timofey Turenko
					Timofey Turenko