!31 [sync] PR-29: skip test for openeuler system
From: @openeuler-sync-bot Reviewed-by: @dillon_chen Signed-off-by: @dillon_chen
This commit is contained in:
commit
8a21434ef7
12
adapted-openeuler-system-to-fix-testcase-fail.patch
Normal file
12
adapted-openeuler-system-to-fix-testcase-fail.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/daemon/unit_test.c b/daemon/unit_test.c
|
||||||
|
index fa3fa84..bdf3e22 100644
|
||||||
|
--- a/daemon/unit_test.c
|
||||||
|
+++ b/daemon/unit_test.c
|
||||||
|
@@ -81,7 +81,6 @@ static int check_number_printing(void) {
|
||||||
|
{ .n = 8294967295.123456789, .correct = "8294967295.123457" },
|
||||||
|
{ .n = 1.000000000000002e+19, .correct = "1.000000000000001998e+19" },
|
||||||
|
{ .n = 9.2233720368547676e+18, .correct = "9.223372036854767584e+18" },
|
||||||
|
- { .n = 18446744073709541376.0, .correct = "1.84467440737095424e+19" },
|
||||||
|
{ .n = 18446744073709551616.0, .correct = "1.844674407370955136e+19" },
|
||||||
|
{ .n = 12318446744073710600192.0, .correct = "1.231844674407371008e+22" },
|
||||||
|
{ .n = 1677721499999999885312.0, .correct = "1.677721499999999872e+21" },
|
||||||
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
Name: netdata
|
Name: netdata
|
||||||
Version: 1.39.1
|
Version: 1.39.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Real-time performance monitoring
|
Summary: Real-time performance monitoring
|
||||||
License: GPLv3 and GPLv3+ and ASL 2.0 and CC-BY-4.0 and MIT and WTFPL
|
License: GPLv3 and GPLv3+ and ASL 2.0 and CC-BY-4.0 and MIT and WTFPL
|
||||||
URL: https://github.com/%{name}/%{name}/
|
URL: https://github.com/%{name}/%{name}/
|
||||||
@ -25,6 +25,7 @@ Source7: netdata-install-go-plugins.sh
|
|||||||
Patch0: netdata-fix-shebang-1.39.0.patch
|
Patch0: netdata-fix-shebang-1.39.0.patch
|
||||||
# Remove embedded font
|
# Remove embedded font
|
||||||
Patch10: netdata-remove-fonts-1.38.0.patch
|
Patch10: netdata-remove-fonts-1.38.0.patch
|
||||||
|
Patch11: adapted-openeuler-system-to-fix-testcase-fail.patch
|
||||||
|
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
@ -119,6 +120,7 @@ freeipmi plugin for netdata
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
# Remove embedded font(added in requires)
|
# Remove embedded font(added in requires)
|
||||||
%patch10 -p1
|
%patch10 -p1
|
||||||
|
%patch11 -p1
|
||||||
rm -rf web/fonts web/gui/dashboard/static/media
|
rm -rf web/fonts web/gui/dashboard/static/media
|
||||||
cp %{SOURCE5} .
|
cp %{SOURCE5} .
|
||||||
|
|
||||||
@ -273,6 +275,9 @@ echo "Netdata go plugin can be easily installed with %{_sbindir}/netdata-install
|
|||||||
%caps(cap_setuid=ep) %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/freeipmi.plugin
|
%caps(cap_setuid=ep) %attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/freeipmi.plugin
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 28 2023 xu_ping <707078654@qq.com> - 1.39.1-2
|
||||||
|
- fix testcase failed.
|
||||||
|
|
||||||
* Tue May 23 2023 liyanan <thistleslyn@163.com> - 1.39.1-1
|
* Tue May 23 2023 liyanan <thistleslyn@163.com> - 1.39.1-1
|
||||||
- update to 1.39.1
|
- update to 1.39.1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user