projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
MEMCACHED_CALLBACK_PREFIX_KEY added (so domaining keys is now aailable in
[m6w6/libmemcached]
/
tests
/
server.c
diff --git
a/tests/server.c
b/tests/server.c
index ce8db70bd1029be16eb3b1f6e522fc3cb450b850..1248981ba1acd63fd92d679daa1554c9ae7f2eae 100644
(file)
--- a/
tests/server.c
+++ b/
tests/server.c
@@
-3,12
+3,13
@@
*/
#define TEST_PORT_BASE MEMCACHED_DEFAULT_PORT+10
*/
#define TEST_PORT_BASE MEMCACHED_DEFAULT_PORT+10
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <assert.h>
-#include <memcached.h>
+#include <
libmemcached/
memcached.h>
#include <unistd.h>
#include "server.h"
#include <unistd.h>
#include "server.h"
@@
-41,7
+42,6
@@
void server_startup(server_startup_st *construct)
else
sprintf(buffer, "memcached -d -P /tmp/%umemc.pid -t 1 -p %u", x, x+ TEST_PORT_BASE);
status= system(buffer);
else
sprintf(buffer, "memcached -d -P /tmp/%umemc.pid -t 1 -p %u", x, x+ TEST_PORT_BASE);
status= system(buffer);
- WATCHPOINT_ASSERT(status == 0);
count= sprintf(end_ptr, "localhost:%u,", x + TEST_PORT_BASE);
end_ptr+= count;
}
count= sprintf(end_ptr, "localhost:%u,", x + TEST_PORT_BASE);
end_ptr+= count;
}