| 80 | } |
| 81 | |
| 82 | static bool test_info(acl::redis_cluster& redis) |
| 83 | { |
| 84 | std::map<acl::string, acl::string> result; |
| 85 | if (redis.cluster_info(result) == false) |
| 86 | return false; |
| 87 | |
| 88 | std::map<acl::string, acl::string>::const_iterator cit; |
| 89 | for (cit = result.begin(); cit != result.end(); ++cit) |
| 90 | printf("%s=%s\r\n", cit->first.c_str(), cit->second.c_str()); |
| 91 | |
| 92 | return true; |
| 93 | } |
| 94 | |
| 95 | static bool preset_all(const char* addr) |
| 96 | { |
no test coverage detected
searching dependent graphs…