projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Test case for lp:490520
[m6w6/libmemcached]
/
tests
/
atomsmasher.c
diff --git
a/tests/atomsmasher.c
b/tests/atomsmasher.c
index 5b4bcbe241b7bb500deb1e8f2a9bcc1b2bf7fd75..8563e4ec19e66bb4cf7c47de93839db3e80efac0 100644
(file)
--- a/
tests/atomsmasher.c
+++ b/
tests/atomsmasher.c
@@
-26,8
+26,8
@@
#include <sys/stat.h>
#include <unistd.h>
#include <time.h>
#include <sys/stat.h>
#include <unistd.h>
#include <time.h>
-#include
"../clients/generator.h"
-#include
"../clients/execute.h"
+#include
<clients/generator.h>
+#include
<clients/execute.h>
#include <libtest/server.h>
#include <libtest/test.h>
#include <libtest/server.h>
#include <libtest/test.h>
@@
-48,7
+48,7
@@
static test_return_t cleanup_pairs(memcached_st *memc)
(void)memc;
pairs_free(global_pairs);
(void)memc;
pairs_free(global_pairs);
- return
0
;
+ return
EXIT_SUCCESS
;
}
static test_return_t generate_pairs(memcached_st *memc)
}
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;
}
global_keys_length[x]= global_pairs[x].key_length;
}
- return
0
;
+ return
EXIT_SUCCESS
;
}
static test_return_t drizzle(memcached_st *memc)
}
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);
}
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);
}
{
add_test(memc);
}
- return
0
;
+ return
EXIT_SUCCESS
;
}
test_st smash_tests[] ={
}
test_st smash_tests[] ={