Fix memcapable tests
This commit is contained in:
parent
2e28c01292
commit
8ff9af26ce
22
libmemcached-tests-fix-clients-memcapable.patch
Normal file
22
libmemcached-tests-fix-clients-memcapable.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
From 8c84f5e265f1fc68681f0856a7d96fa8aa034e80 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Michael Wallner <mike@php.net>
|
||||||
|
Date: Mon, 13 Jan 2020 11:36:53 +0100
|
||||||
|
Subject: [PATCH] tests: fix clients/memcapable
|
||||||
|
|
||||||
|
---
|
||||||
|
clients/memcapable.cc | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/clients/memcapable.cc b/clients/memcapable.cc
|
||||||
|
index af120d0b..fc956fe0 100644
|
||||||
|
--- a/clients/memcapable.cc
|
||||||
|
+++ b/clients/memcapable.cc
|
||||||
|
@@ -1302,7 +1302,7 @@ static enum test_return test_ascii_verbosity(void)
|
||||||
|
execute(receive_error_response());
|
||||||
|
|
||||||
|
execute(send_string("verbosity noreply\r\n"));
|
||||||
|
- execute(receive_error_response());
|
||||||
|
+ execute(test_ascii_version());
|
||||||
|
|
||||||
|
execute(send_string("verbosity 0 noreply\r\n"));
|
||||||
|
execute(test_ascii_version());
|
||||||
@ -1,7 +1,7 @@
|
|||||||
Name: libmemcached
|
Name: libmemcached
|
||||||
Summary: Client library and command line tools for memcached server
|
Summary: Client library and command line tools for memcached server
|
||||||
Version: 1.0.18
|
Version: 1.0.18
|
||||||
Release: 18
|
Release: 19
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://libmemcached.org/
|
URL: http://libmemcached.org/
|
||||||
#origin source:https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz
|
#origin source:https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz
|
||||||
@ -20,6 +20,7 @@ Patch0001: libmemcached-fix-linking-with-libpthread.patch
|
|||||||
Patch0002: libmemcached-build.patch
|
Patch0002: libmemcached-build.patch
|
||||||
Patch0003: libmemcached-fix-memdump-version.patch
|
Patch0003: libmemcached-fix-memdump-version.patch
|
||||||
Patch0004: libmemcached-Ignore-specific-errors-from-memcached_dump.patch
|
Patch0004: libmemcached-Ignore-specific-errors-from-memcached_dump.patch
|
||||||
|
Patch0005: libmemcached-tests-fix-clients-memcapable.patch
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -101,6 +102,9 @@ make test
|
|||||||
%{_mandir}/man3/hashkit*
|
%{_mandir}/man3/hashkit*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 24 2021 lingsheng <lingsheng@huawei.com> - 1.0.18-19
|
||||||
|
- Fix memcapable tests
|
||||||
|
|
||||||
* Fri Nov 06 2020 leiju <leiju4@huawei.com> - 1.0.18-18
|
* Fri Nov 06 2020 leiju <leiju4@huawei.com> - 1.0.18-18
|
||||||
- Add Requires libmemcached-help into libmemcached
|
- Add Requires libmemcached-help into libmemcached
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user