~mordred/libmemcached/fix-weird-link

« back to all changes in this revision

Viewing changes to tests/function.c

  • Committer: Brian Aker
  • Date: 2009-12-18 18:46:19 UTC
  • Revision ID: brian@gaz-20091218184619-iwh9smvy2wkwrvn0
ICC and test fix.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1845
1845
  value= memcached_behavior_get(memc, MEMCACHED_BEHAVIOR_NUMBER_OF_REPLICAS);
1846
1846
  memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_NUMBER_OF_REPLICAS, value + 1);
1847
1847
  test_truth((value + 1) == memcached_behavior_get(memc, MEMCACHED_BEHAVIOR_NUMBER_OF_REPLICAS));
 
1848
 
1848
1849
  return TEST_SUCCESS;
1849
1850
}
1850
1851
 
5520
5521
  {"clone_test", 0, (test_callback_fn)clone_test },
5521
5522
  {"connection_test", 0, (test_callback_fn)connection_test},
5522
5523
  {"callback_test", 0, (test_callback_fn)callback_test},
5523
 
  {"behavior_test", 0, (test_callback_fn)behavior_test},
5524
5524
  {"userdata_test", 0, (test_callback_fn)userdata_test},
5525
5525
  {"error", 0, (test_callback_fn)error_test },
5526
5526
  {"set", 0, (test_callback_fn)set_test },
5555
5555
  {"add_host_test", 0, (test_callback_fn)add_host_test },
5556
5556
  {"add_host_test_1", 0, (test_callback_fn)add_host_test1 },
5557
5557
  {"get_stats_keys", 0, (test_callback_fn)get_stats_keys },
5558
 
  {"behavior_test", 0, (test_callback_fn)get_stats_keys },
5559
 
  {"callback_test", 0, (test_callback_fn)get_stats_keys },
5560
5558
  {"version_string_test", 0, (test_callback_fn)version_string_test},
5561
5559
  {"bad_key", 1, (test_callback_fn)bad_key_test },
5562
5560
  {"memcached_server_cursor", 1, (test_callback_fn)memcached_server_cursor_test },
5571
5569
  {0, 0, 0}
5572
5570
};
5573
5571
 
 
5572
test_st behavior_tests[] ={
 
5573
  {"behavior_test", 0, (test_callback_fn)behavior_test},
 
5574
  {0, 0, 0}
 
5575
};
 
5576
 
5574
5577
test_st async_tests[] ={
5575
5578
  {"add", 1, (test_callback_fn)add_wrapper },
5576
5579
  {0, 0, 0}
5790
5793
  {"replication", (test_callback_fn)pre_replication, 0, replication_tests},
5791
5794
  {"replication_noblock", (test_callback_fn)pre_replication_noblock, 0, replication_tests},
5792
5795
  {"regression", 0, 0, regression_tests},
 
5796
  {"behaviors", 0, 0, behavior_tests},
5793
5797
  {0, 0, 0, 0}
5794
5798
};
5795
5799