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:
582d5c9
)
testing: memcp quit/flush when udp/buffering
author
Michael Wallner
<mike@php.net>
Tue, 10 Nov 2020 13:15:14 +0000
(14:15 +0100)
committer
Michael Wallner
<mike@php.net>
Tue, 10 Nov 2020 13:15:14 +0000
(14:15 +0100)
test/tests/bin/memcp.cpp
patch
|
blob
|
history
diff --git
a/test/tests/bin/memcp.cpp
b/test/tests/bin/memcp.cpp
index fc61e57f572ee72d66e67325a5ffadc5b4a57aff..9f891ccb0a01746ad9b53334413553c2097e3b35 100644
(file)
--- a/
test/tests/bin/memcp.cpp
+++ b/
test/tests/bin/memcp.cpp
@@
-77,6
+77,10
@@
TEST_CASE("bin/memcp") {
REQUIRE(output == "");
REQUIRE(ok);
+ if (udp_buffer) {
+ memcached_quit(*memc);
+ }
+
size_t len;
memcached_return_t rc;
Malloced val(memcached_get(*memc, S(temp.getFn()), &len, nullptr, &rc));