- pid_t pid= libmemcached_util_getpid(memcached_server_name(instance),
- memcached_server_port(instance), NULL);
- test_true(pid != -1);
- }
+test_st server_startup_TESTS[] ={
+ {"server_startup(1)", false, (test_callback_fn*)server_startup_single_TEST },
+ {"server_startup(10)", false, (test_callback_fn*)server_startup_multiple_TEST },
+ {"shutdown_and_remove()", false, (test_callback_fn*)shutdown_and_remove_TEST },
+ {"server_startup(10)", false, (test_callback_fn*)server_startup_multiple_TEST },
+ {0, 0, 0}
+};
+
+#if 0
+static test_return_t collection_INIT(void *object)
+{
+ server_startup_st *servers= (server_startup_st*)object;
+ test_zero(servers->count());
+ test_compare(true, server_startup(*servers, "memcached", libtest::default_port(), 0, NULL));