projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Added new memcached_dump() command.
[awesomized/libmemcached]
/
tests
/
atomsmasher.c
diff --git
a/tests/atomsmasher.c
b/tests/atomsmasher.c
index 7c4c8ae396f7f0ceeed6befc3312916b1f3d754f..500e2e8e1aaec308c39a541dad30ad6609344587 100644
(file)
--- a/
tests/atomsmasher.c
+++ b/
tests/atomsmasher.c
@@
-1,6
+1,8
@@
/*
Sample test application.
*/
/*
Sample test application.
*/
+#include "libmemcached/common.h"
+
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
@@
-11,7
+13,6
@@
#include <unistd.h>
#include <time.h>
#include "server.h"
#include <unistd.h>
#include <time.h>
#include "server.h"
-#include "../libmemcached/common.h"
#include "../clients/generator.h"
#include "../clients/execute.h"
#include "../clients/generator.h"
#include "../clients/execute.h"
@@
-186,7
+187,8
@@
static test_return add_test(memcached_st *memc)
static test_return many_adds(memcached_st *memc)
{
unsigned int i;
static test_return many_adds(memcached_st *memc)
{
unsigned int i;
- for (i = 0; i < TEST_COUNTER; i++){
+ for (i = 0; i < TEST_COUNTER; i++)
+ {
add_test(memc);
}
return 0;
add_test(memc);
}
return 0;