projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Broke library up into multiple files.
[awesomized/libmemcached]
/
tests
/
test.c
diff --git
a/tests/test.c
b/tests/test.c
index 4948c70a7ddf191fcf69f2a54403c8b8a0eca2ec..2edcacd26af38e14c2789c77da6128ac9e00133a 100644
(file)
--- a/
tests/test.c
+++ b/
tests/test.c
@@
-167,6
+167,15
@@
void get_test2(void)
memcached_deinit(memc);
}
memcached_deinit(memc);
}
+void stats_hostname_test(void)
+{
+ memcached_return rc;
+ memcached_stat_st stat;
+ rc= memcached_stat_hostname(&stat, NULL,
+ "localhost",
+ MEMCACHED_DEFAULT_PORT);
+}
+
int main(void)
{
/* Clean the server before beginning testing */
int main(void)
{
/* Clean the server before beginning testing */
@@
-182,6
+191,7
@@
int main(void)
flush_test();
get_test();
get_test2();
flush_test();
get_test();
get_test2();
+ stats_hostname_test();
/* Clean up whatever we might have left */
flush_test();
/* Clean up whatever we might have left */
flush_test();