projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Adding test for sort.
[m6w6/libmemcached]
/
tests
/
server.c
diff --git
a/tests/server.c
b/tests/server.c
index 58f45233cbe0f137c192c0ac23c107bfade6bed4..1248981ba1acd63fd92d679daa1554c9ae7f2eae 100644
(file)
--- a/
tests/server.c
+++ b/
tests/server.c
@@
-3,6
+3,7
@@
*/
#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 <stdio.h>
#include <stdlib.h>
#include <string.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;
}