X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fatomsmasher.c;h=8563e4ec19e66bb4cf7c47de93839db3e80efac0;hb=6dab5e4d5dfb6145966a3efa48a41cf7e609c9ad;hp=5b4bcbe241b7bb500deb1e8f2a9bcc1b2bf7fd75;hpb=349ca737f30ff0b6c3c71034f0930660663fa360;p=awesomized%2Flibmemcached diff --git a/tests/atomsmasher.c b/tests/atomsmasher.c index 5b4bcbe2..8563e4ec 100644 --- a/tests/atomsmasher.c +++ b/tests/atomsmasher.c @@ -26,8 +26,8 @@ #include #include #include -#include "../clients/generator.h" -#include "../clients/execute.h" +#include +#include #include #include @@ -48,7 +48,7 @@ static test_return_t cleanup_pairs(memcached_st *memc) (void)memc; pairs_free(global_pairs); - return 0; + return EXIT_SUCCESS; } static test_return_t generate_pairs(memcached_st *memc) @@ -63,7 +63,7 @@ static test_return_t generate_pairs(memcached_st *memc) global_keys_length[x]= global_pairs[x].key_length; } - return 0; + return EXIT_SUCCESS; } static test_return_t drizzle(memcached_st *memc) @@ -160,7 +160,7 @@ static test_return_t add_test(memcached_st *memc) test_true(rc == MEMCACHED_NOTSTORED); } - return 0; + return EXIT_SUCCESS; } /* @@ -173,7 +173,7 @@ static test_return_t many_adds(memcached_st *memc) { add_test(memc); } - return 0; + return EXIT_SUCCESS; } test_st smash_tests[] ={