Fix if()
authorBrian Aker <brian@tangent.org>
Fri, 11 Feb 2011 09:50:22 +0000 (01:50 -0800)
committerBrian Aker <brian@tangent.org>
Fri, 11 Feb 2011 09:50:22 +0000 (01:50 -0800)
tests/mem_functions.c

index cf707171d89d24586dfd80cab7871479ed1192bd..740e34de1fbd98e57d0648bf9b74bb566b8dd12f 100644 (file)
@@ -4448,7 +4448,8 @@ static test_return_t util_version_test(memcached_st *memc)
 
   if_successful= libmemcached_util_version_check(memc, 9, 9, 9);
 
-  if (! if_successful)
+  // We expect failure
+  if (if_successful)
   {
     fprintf(stderr, "\n----------------------------------------------------------------------\n");
     fprintf(stderr, "\nDumping Server Information\n\n");