summaryrefslogtreecommitdiff
path: root/0050-fix-isula_rt_ops_ut-bugs.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-17 07:36:31 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-17 07:36:31 +0000
commit5de4bc645d087edfbc848d43ac0019a6535a3c73 (patch)
tree7354cf7f0504f1020c7c3165c77c21ef9257cbb4 /0050-fix-isula_rt_ops_ut-bugs.patch
parent4a79e40e226e2077b5e8cc274610e473b148f507 (diff)
automatic import of iSuladopeneuler20.03
Diffstat (limited to '0050-fix-isula_rt_ops_ut-bugs.patch')
-rw-r--r--0050-fix-isula_rt_ops_ut-bugs.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/0050-fix-isula_rt_ops_ut-bugs.patch b/0050-fix-isula_rt_ops_ut-bugs.patch
new file mode 100644
index 0000000..6f96568
--- /dev/null
+++ b/0050-fix-isula_rt_ops_ut-bugs.patch
@@ -0,0 +1,28 @@
+From e2382f841c7bc3215793fdd8ce29132871281810 Mon Sep 17 00:00:00 2001
+From: zhongtao <zhongtao17@huawei.com>
+Date: Wed, 22 Mar 2023 08:02:51 +0800
+Subject: [PATCH 50/53] fix isula_rt_ops_ut bugs
+
+Signed-off-by: zhongtao <zhongtao17@huawei.com>
+---
+ test/runtime/isula/isula_rt_ops_ut.cc | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/test/runtime/isula/isula_rt_ops_ut.cc b/test/runtime/isula/isula_rt_ops_ut.cc
+index f37e62a0..9e014ac3 100644
+--- a/test/runtime/isula/isula_rt_ops_ut.cc
++++ b/test/runtime/isula/isula_rt_ops_ut.cc
+@@ -211,7 +211,10 @@ TEST_F(IsulaRtOpsUnitTest, test_rt_isula_resources_stats)
+ TEST_F(IsulaRtOpsUnitTest, test_rt_isula_kill)
+ {
+ rt_kill_params_t kill_params = {
++ .signal = SIGTERM,
++ .stop_signal = SIGKILL,
+ .pid = -1,
++ .start_time = 12345,
+ };
+ ASSERT_EQ(rt_isula_kill(nullptr, nullptr, nullptr), -1);
+
+--
+2.25.1
+