X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fmem_functions.cc;h=5476f8bdfd04ea4ad3cac4b1bf184d32e4ca4e23;hb=5a9c49c1e9f1950045eb845277c370324ac9ef16;hp=180f1e7e2fe4c2e319810f29e9ae20439a211280;hpb=7abcaebdc4c3dd11b779eaef58a7371fb82ae888;p=awesomized%2Flibmemcached diff --git a/tests/mem_functions.cc b/tests/mem_functions.cc index 180f1e7e..5476f8bd 100644 --- a/tests/mem_functions.cc +++ b/tests/mem_functions.cc @@ -330,7 +330,7 @@ static test_return_t clone_test(memcached_st *memc) test_true(memc_clone->flags.verify_key == memc->flags.verify_key); test_true(memc_clone->ketama.weighted == memc->ketama.weighted); test_true(memc_clone->flags.binary_protocol == memc->flags.binary_protocol); - test_true(memc_clone->flags.hash_with_prefix_key == memc->flags.hash_with_prefix_key); + test_true(memc_clone->flags.hash_with_namespace == memc->flags.hash_with_namespace); test_true(memc_clone->flags.no_reply == memc->flags.no_reply); test_true(memc_clone->flags.use_udp == memc->flags.use_udp); test_true(memc_clone->flags.auto_eject_hosts == memc->flags.auto_eject_hosts); @@ -1725,7 +1725,7 @@ static test_return_t mget_test(memcached_st *memc) { test_true(return_value); test_compare(MEMCACHED_SUCCESS, rc); - if (not memc->prefix_key) + if (not memc->_namespace) { test_compare(return_key_length, return_value_length); test_memcmp(return_value, return_key, return_value_length); @@ -6466,6 +6466,7 @@ test_st parser_tests[] ={ {"server with weights", 0, (test_callback_fn*)server_with_weight_test }, {"parsing servername, port, and weight", 0, (test_callback_fn*)test_hostname_port_weight }, {"--socket=", 0, (test_callback_fn*)test_parse_socket }, + {"--namespace=", 0, (test_callback_fn*)test_namespace_keyword }, {0, 0, (test_callback_fn*)0} };