projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
configure: provide a cli flag instead of forcing -Werror
[awesomized/libmemcached]
/
tests
/
cycle.cc
diff --git
a/tests/cycle.cc
b/tests/cycle.cc
index 2ec42463e20a285505b88fa428c59b7eeae1a272..0137b03895dad3d715dc222b5fb9166652fe4b5b 100644
(file)
--- a/
tests/cycle.cc
+++ b/
tests/cycle.cc
@@
-39,7
+39,7
@@
Test that we are cycling the servers we are creating during testing.
*/
Test that we are cycling the servers we are creating during testing.
*/
-#include <config.h>
+#include <
mem_
config.h>
#include <libtest/test.hpp>
using namespace libtest;
#include <libtest/test.hpp>
using namespace libtest;
@@
-48,7
+48,7
@@
using namespace libtest;
static test_return_t server_startup_single_TEST(void *obj)
{
server_startup_st *servers= (server_startup_st*)obj;
static test_return_t server_startup_single_TEST(void *obj)
{
server_startup_st *servers= (server_startup_st*)obj;
- test_compare(true, server_startup(*servers, "memcached", libtest::get_free_port(),
0, NULL, false
));
+ test_compare(true, server_startup(*servers, "memcached", libtest::get_free_port(),
NULL
));
test_compare(true, servers->shutdown());
test_compare(true, servers->shutdown());
@@
-60,9
+60,9
@@
static test_return_t server_startup_multiple_TEST(void *obj)
test_skip(true, jenkins_is_caller());
server_startup_st *servers= (server_startup_st*)obj;
test_skip(true, jenkins_is_caller());
server_startup_st *servers= (server_startup_st*)obj;
- for (size_t x= 0; x < 10;
x++
)
+ for (size_t x= 0; x < 10;
++x
)
{
{
- test_compare(true, server_startup(*servers, "memcached", libtest::get_free_port(),
0, NULL, false
));
+ test_compare(true, server_startup(*servers, "memcached", libtest::get_free_port(),
NULL
));
}
test_compare(true, servers->shutdown());
}
test_compare(true, servers->shutdown());