projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
0f8935c
)
Update to printout where things are going wrong.
author
Brian Aker
<brian@tangent.org>
Sun, 23 Dec 2012 19:35:03 +0000
(14:35 -0500)
committer
Brian Aker
<brian@tangent.org>
Sun, 23 Dec 2012 19:35:03 +0000
(14:35 -0500)
tests/libmemcached-1.0/mem_functions.cc
patch
|
blob
|
history
diff --git
a/tests/libmemcached-1.0/mem_functions.cc
b/tests/libmemcached-1.0/mem_functions.cc
index 068d5197414368f5a84b6f5befb3a105106dc541..046e543d4bc585c1c4a16fd1e09d8aa9580bcaa6 100644
(file)
--- a/
tests/libmemcached-1.0/mem_functions.cc
+++ b/
tests/libmemcached-1.0/mem_functions.cc
@@
-4949,11
+4949,12
@@
test_return_t kill_HUP_TEST(memcached_st *original_memc)
0, 0));
test_true_got(kill(pid, SIGHUP) == 0, strerror(errno));
0, 0));
test_true_got(kill(pid, SIGHUP) == 0, strerror(errno));
- test_compare(MEMCACHED_CONNECTION_FAILURE,
- memcached_set(memc,
- test_literal_param(__func__), // Keys
- test_literal_param(__func__), // Values
- 0, 0));
+ memcached_return_t ret= memcached_set(memc,
+ test_literal_param(__func__), // Keys
+ test_literal_param(__func__), // Values
+ 0, 0);
+ Error << memcached_last_error_message(memc);
+ test_compare(MEMCACHED_CONNECTION_FAILURE, ret);
memcached_free(memc);
memcached_free(memc);