From aefce0859f3dcfafbeb13d7a79d4ccbad41f05eb Mon Sep 17 00:00:00 2001 From: hujixiang1 Date: Sat, 18 Sep 2021 10:52:53 +0800 Subject: [PATCH] fixed ac1dced from https://gitee.com/mia_0811/xts_acts/pulls/652 hujixiang1@huawei.com Signed-off-by: hujixiang1 Change-Id: Ib49e529f12d25ab4cb0c9fba9ff46fe06ceccbd1 --- security_lite/datahuks_hal/Test.tmpl | 0 .../permission_posix/capability/src/ActsCapabilityTest.cpp | 2 +- update_lite/updater_hal/Test.tmpl | 0 3 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 security_lite/datahuks_hal/Test.tmpl mode change 100755 => 100644 update_lite/updater_hal/Test.tmpl diff --git a/security_lite/datahuks_hal/Test.tmpl b/security_lite/datahuks_hal/Test.tmpl old mode 100644 new mode 100755 diff --git a/security_lite/permission_posix/capability/src/ActsCapabilityTest.cpp b/security_lite/permission_posix/capability/src/ActsCapabilityTest.cpp index e631d0ec1..126377cee 100755 --- a/security_lite/permission_posix/capability/src/ActsCapabilityTest.cpp +++ b/security_lite/permission_posix/capability/src/ActsCapabilityTest.cpp @@ -753,7 +753,7 @@ HWTEST_F(CapabilityTestSuite, CapabilityTest0600, Function | MediumTest | Level2 exitCode = 1; } // Step 2: Failed to kill the sub process - ret = kill(pid2, SIGXFSZ); + ret = kill(pid1, SIGXFSZ); if (ret != FALSE) { LOG("ErrInfo: Kill process without CAP_KILL"); exitCode = 1; diff --git a/update_lite/updater_hal/Test.tmpl b/update_lite/updater_hal/Test.tmpl old mode 100755 new mode 100644 -- GitLab