From 5de4bc645d087edfbc848d43ac0019a6535a3c73 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 17 Apr 2023 07:36:31 +0000 Subject: automatic import of iSulad --- 0050-fix-isula_rt_ops_ut-bugs.patch | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 0050-fix-isula_rt_ops_ut-bugs.patch (limited to '0050-fix-isula_rt_ops_ut-bugs.patch') 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 +Date: Wed, 22 Mar 2023 08:02:51 +0800 +Subject: [PATCH 50/53] fix isula_rt_ops_ut bugs + +Signed-off-by: zhongtao +--- + 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 + -- cgit v1.2.3