enable test
(cherry picked from commit f478d438440199fb775c83ab6cdc5fed21767bab)
This commit is contained in:
parent
3d1f2ef415
commit
15f257b877
25
backport-disable-live-tests.patch
Normal file
25
backport-disable-live-tests.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 4cfbdaee9697d084045bc83a7b1555e406494aa0 Mon Sep 17 00:00:00 2001
|
||||||
|
From: chengyechun <chengyechun1@huawei.com>
|
||||||
|
Date: Fri, 11 Feb 2022 17:23:54 +0800
|
||||||
|
Subject: [PATCH] disable live tests
|
||||||
|
|
||||||
|
Conflict:NA
|
||||||
|
Reference:https://build.opensuse.org/package/view_file/openSUSE:Factory/c-ares/disable-live-tests.patch?expand=1
|
||||||
|
---
|
||||||
|
test/Makefile.inc | 1 -
|
||||||
|
1 file changed, 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/test/Makefile.inc b/test/Makefile.inc
|
||||||
|
index 91860e2..ecd22a4 100644
|
||||||
|
--- a/test/Makefile.inc
|
||||||
|
+++ b/test/Makefile.inc
|
||||||
|
@@ -14,7 +14,6 @@ TESTSOURCES = ares-test-main.cc \
|
||||||
|
ares-test-parse-srv.cc \
|
||||||
|
ares-test-parse-txt.cc \
|
||||||
|
ares-test-misc.cc \
|
||||||
|
- ares-test-live.cc \
|
||||||
|
ares-test-mock.cc \
|
||||||
|
ares-test-mock-ai.cc \
|
||||||
|
ares-test-internal.cc \
|
||||||
|
--
|
||||||
|
1.8.3.1
|
||||||
14
c-ares.spec
14
c-ares.spec
@ -1,6 +1,6 @@
|
|||||||
Name: c-ares
|
Name: c-ares
|
||||||
Version: 1.16.1
|
Version: 1.16.1
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: A C library for asynchronous DNS requests
|
Summary: A C library for asynchronous DNS requests
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -17,6 +17,8 @@ Patch4: CVE-2020-8277.patch
|
|||||||
Patch5: backport-001-CVE-2021-3672.patch
|
Patch5: backport-001-CVE-2021-3672.patch
|
||||||
Patch6: backport-002-CVE-2021-3672.patch
|
Patch6: backport-002-CVE-2021-3672.patch
|
||||||
Patch7: backport-add-str-len-check-in-config_sortlist-to-avoid-stack-overflow.patch
|
Patch7: backport-add-str-len-check-in-config_sortlist-to-avoid-stack-overflow.patch
|
||||||
|
Patch8: backport-disable-live-tests.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is c-ares, an asynchronous resolver library. It is intended for applications
|
This is c-ares, an asynchronous resolver library. It is intended for applications
|
||||||
which need to perform DNS queries without blocking, or need to perform multiple
|
which need to perform DNS queries without blocking, or need to perform multiple
|
||||||
@ -44,6 +46,10 @@ make %{?_smp_mflags}
|
|||||||
%delete_la
|
%delete_la
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%check
|
||||||
|
%make_build -C test
|
||||||
|
./test/arestest
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc CHANGES LICENSE.md
|
%doc CHANGES LICENSE.md
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
@ -59,6 +65,12 @@ make %{?_smp_mflags}
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 08 2023 xinghe <xinghe2@h-partners.com> - 1.16.1-5
|
||||||
|
- Type:bugfix
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:enable test
|
||||||
|
|
||||||
* Fri Feb 10 2023 xingwei <xingwei14@h-partners.com> - 1.16.1-4
|
* Fri Feb 10 2023 xingwei <xingwei14@h-partners.com> - 1.16.1-4
|
||||||
- Type:cves
|
- Type:cves
|
||||||
- CVE:CVE-2022-4904
|
- CVE:CVE-2022-4904
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user