X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Ffunction.c;h=f52bf783e15f563da0f764d39f77996216bf6a5e;hb=e66e77d11b06d6076b986db0709124bc03bfc6c4;hp=db224f952208a64662ccfab7d3535462383bb5d1;hpb=cbafecdb4d20debde085c0f9932818559b4ccfda;p=awesomized%2Flibmemcached diff --git a/tests/function.c b/tests/function.c index db224f95..f52bf783 100644 --- a/tests/function.c +++ b/tests/function.c @@ -361,7 +361,6 @@ uint8_t add_test(memcached_st *memc) rc= memcached_add(memc, key, strlen(key), value, strlen(value), (time_t)0, (uint32_t)0); - WATCHPOINT_ERROR(rc); assert(rc == MEMCACHED_NOTSTORED); return 0; @@ -1523,7 +1522,7 @@ uint8_t user_supplied_bug11(memcached_st *memc) timeout= -1; memcached_behavior_set(mclone, MEMCACHED_BEHAVIOR_POLL_TIMEOUT, &timeout); - timeout= (int32_t)memcached_behavior_get(memc, MEMCACHED_BEHAVIOR_POLL_TIMEOUT); + timeout= (int32_t)memcached_behavior_get(mclone, MEMCACHED_BEHAVIOR_POLL_TIMEOUT); assert(timeout == -1); @@ -1535,8 +1534,6 @@ uint8_t user_supplied_bug11(memcached_st *memc) for (x= 1; x <= 100000; ++x) { rc= memcached_set(mclone, key, key_len,value, value_length, 0, 0); - - WATCHPOINT_IFERROR(rc); } free(value);