~yeban/libmemcached/todo-host.c

« back to all changes in this revision

Viewing changes to tests/mem_functions.c

  • Committer: Brian Aker
  • Date: 2011-03-08 23:17:05 UTC
  • Revision ID: brian@tangent.org-20110308231705-l80szfpjsrdnt3dc
Merge in solution for lp:581030.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6133
6133
  return TEST_SUCCESS;
6134
6134
}
6135
6135
 
 
6136
static test_return_t regression_bug_581030(memcached_st *unused)
 
6137
{
 
6138
  (void)unused;
 
6139
 
 
6140
#ifndef DEBUG
 
6141
  memcached_stat_st *local_stat= memcached_stat(NULL, NULL, NULL);
 
6142
  test_false(local_stat);
 
6143
 
 
6144
  memcached_stat_free(NULL, NULL);
 
6145
#endif
 
6146
 
 
6147
  return TEST_SUCCESS;
 
6148
}
 
6149
 
6136
6150
static void memcached_die(memcached_st* mc, memcached_return error, const char* what, uint32_t it)
6137
6151
{
6138
6152
  fprintf(stderr, "Iteration #%u: ", it);
6451
6465
  {"lp:583031", 1, (test_callback_fn)regression_bug_583031 },
6452
6466
  {"lp:?", 1, (test_callback_fn)regression_bug_ },
6453
6467
  {"lp:728286", 1, (test_callback_fn)regression_bug_728286 },
 
6468
  {"lp:581030", 1, (test_callback_fn)regression_bug_581030 },
6454
6469
  {0, 0, (test_callback_fn)0}
6455
6470
};
6456
6471