~yeban/libmemcached/todo-host.c

« back to all changes in this revision

Viewing changes to tests/atomsmasher.c

  • Committer: Brian Aker
  • Date: 2011-03-17 21:45:08 UTC
  • Revision ID: brian@tangent.org-20110317214508-ogufz6pusakvcch0
Merge in updates to make sure exit/return is done properly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
  (void)memc;
49
49
  pairs_free(global_pairs);
50
50
 
51
 
  return 0;
 
51
  return EXIT_SUCCESS;
52
52
}
53
53
 
54
54
static test_return_t generate_pairs(memcached_st *memc)
63
63
    global_keys_length[x]=  global_pairs[x].key_length;
64
64
  }
65
65
 
66
 
  return 0;
 
66
  return EXIT_SUCCESS;
67
67
}
68
68
 
69
69
static test_return_t drizzle(memcached_st *memc)
160
160
    test_true(rc == MEMCACHED_NOTSTORED);
161
161
  }
162
162
 
163
 
  return 0;
 
163
  return EXIT_SUCCESS;
164
164
}
165
165
 
166
166
/*
173
173
  {
174
174
    add_test(memc);
175
175
  }
176
 
  return 0;
 
176
  return EXIT_SUCCESS;
177
177
}
178
178
 
179
179
test_st smash_tests[] ={