!106 修改test_hotpatch.py文件bug
From: @wang-guangge Reviewed-by: @zhu-yuncheng Signed-off-by: @zhu-yuncheng
This commit is contained in:
commit
98db4efc68
27
0003-fix-bug-in-test_hotpatch.py.patch
Normal file
27
0003-fix-bug-in-test_hotpatch.py.patch
Normal file
@ -0,0 +1,27 @@
|
||||
From ccbd7a6dea68303fb7ec6f777f0e6b8d9e6c7773 Mon Sep 17 00:00:00 2001
|
||||
From: wang-guangge <wangguangge@huawei.com>
|
||||
Date: Wed, 15 Nov 2023 10:35:42 +0800
|
||||
Subject: [PATCH] fix bug in test_hotpatch.py
|
||||
|
||||
---
|
||||
hotpatch/test_hotpatch.py | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/hotpatch/test_hotpatch.py b/hotpatch/test_hotpatch.py
|
||||
index f46faed..e903d55 100644
|
||||
--- a/hotpatch/test_hotpatch.py
|
||||
+++ b/hotpatch/test_hotpatch.py
|
||||
@@ -13,8 +13,8 @@
|
||||
import unittest
|
||||
from unittest import mock
|
||||
|
||||
-from .hotpatch import HotpatchCommand
|
||||
-from .syscare import SUCCEED, FAIL
|
||||
+from .hotpatch_ops import HotpatchCommand
|
||||
+from .syscare import FAIL, SUCCEED
|
||||
|
||||
|
||||
class HotpatchTestCase(unittest.TestCase):
|
||||
--
|
||||
2.27.0
|
||||
|
||||
@ -2,13 +2,14 @@
|
||||
|
||||
Name: aops-ceres
|
||||
Version: v1.3.4
|
||||
Release: 5
|
||||
Release: 6
|
||||
Summary: An agent which needs to be adopted in client, it managers some plugins, such as gala-gopher(kpi collection), fluentd(log collection) and so on.
|
||||
License: MulanPSL2
|
||||
URL: https://gitee.com/openeuler/%{name}
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Patch0001: 0001-support-kabi-check.patch
|
||||
Patch0002: 0002-modify-re-of-kernel-filter.patch
|
||||
Patch0003: 0003-fix-bug-in-test_hotpatch.py.patch
|
||||
|
||||
BuildRequires: python3-setuptools
|
||||
Requires: python3-requests python3-jsonschema python3-libconf
|
||||
@ -88,6 +89,9 @@ install -b -m755 ./extra-tools/da-tool/script/da-tool.sh ${RPM_BUILD_ROOT}
|
||||
%attr(755, root, root) %{_bindir}/da-tool-analysis
|
||||
|
||||
%changelog
|
||||
* Wed Nov 15 2023 wangguangge<wangguangge@huawei.com> - v1.3.4-6
|
||||
- fix bug in test_hotpatch.py
|
||||
|
||||
* Tue Nov 14 2023 liuchanggeng<liuchanggeng@huawei.com> - v1.3.4-5
|
||||
- update buildrequires of da-tool
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user