Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
409aff76
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
409aff76
编写于
6月 11, 2021
作者:
O
openharmony_ci
提交者:
Gitee
6月 11, 2021
浏览文件
操作
浏览文件
下载
差异文件
!271 capability2200testcasefix2
Merge pull request !271 from 胡吉翔/security_20210611
上级
330c3716
c0b954fe
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
33 addition
and
12 deletion
+33
-12
security_lite/permission_posix/capability/jffs/BUILD.gn
security_lite/permission_posix/capability/jffs/BUILD.gn
+14
-5
security_lite/permission_posix/capability/src/ActsCapabilityTest.cpp
...te/permission_posix/capability/src/ActsCapabilityTest.cpp
+4
-2
security_lite/permission_posix/capability/vfat/BUILD.gn
security_lite/permission_posix/capability/vfat/BUILD.gn
+15
-5
未找到文件。
security_lite/permission_posix/capability/jffs/BUILD.gn
浏览文件 @
409aff76
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/lite/build/suite_lite.gni")
import("//test/xts/tools/lite/build/suite_lite.gni")
import("//build/lite/config/subsystem/aafwk/config.gni")
hcpptest_suite("ActsJFFS2CapabilityTest") {
hcpptest_suite("ActsJFFS2CapabilityTest") {
suite_name = "acts"
suite_name = "acts"
...
@@ -39,9 +40,17 @@ hcpptest_suite("ActsJFFS2CapabilityTest") {
...
@@ -39,9 +40,17 @@ hcpptest_suite("ActsJFFS2CapabilityTest") {
"-lpthread",
"-lpthread",
]
]
if(enable_ohos_appexecfwk_feature_ability == true) {
defines = ["BOARD_HI3516_",
"LITE_FS_JFFS2",
"TOP_DIR=\"/storage\"",
"TOP_DIR_MOUNT_INFO=\"/storage jffs\"",
]
} else {
defines = [
defines = [
"LITE_FS_JFFS2",
"LITE_FS_JFFS2",
"TOP_DIR=\"/storage\"",
"TOP_DIR=\"/storage\"",
"TOP_DIR_MOUNT_INFO=\"/storage jffs\"",
"TOP_DIR_MOUNT_INFO=\"/storage jffs\"",
]
]
}
}
}
security_lite/permission_posix/capability/src/ActsCapabilityTest.cpp
浏览文件 @
409aff76
...
@@ -1490,7 +1490,8 @@ HWTEST_F(CapabilityTestSuite, CapabilityTest2100, Reliability | MediumTest | Lev
...
@@ -1490,7 +1490,8 @@ HWTEST_F(CapabilityTestSuite, CapabilityTest2100, Reliability | MediumTest | Lev
}
}
#endif
#endif
#if defined(LITE_FS_JFFS2)
#ifndef _BOARD_HI3516_
#if defined(LITE_FS_JFFS2) || defined(LITE_FS_VFAT)
/*
/*
* @tc.number : SUB_SEC_AppSEC_PermissionMgmt_Capability_2200
* @tc.number : SUB_SEC_AppSEC_PermissionMgmt_Capability_2200
* @tc.name : Check whether the default configuration of the system process capabilities
* @tc.name : Check whether the default configuration of the system process capabilities
...
@@ -1529,8 +1530,9 @@ HWTEST_F(CapabilityTestSuite, CapabilityTest2200, Security | MediumTest | Level1
...
@@ -1529,8 +1530,9 @@ HWTEST_F(CapabilityTestSuite, CapabilityTest2200, Security | MediumTest | Level1
EXPECT_EQ
(
ret
,
0
)
<<
"ErrInfo: Pid = 9, process wms_server or ai_server has wrong capability"
;
EXPECT_EQ
(
ret
,
0
)
<<
"ErrInfo: Pid = 9, process wms_server or ai_server has wrong capability"
;
}
}
#endif
#endif
#endif
#if defined(LITE_FS_VFAT)
#if defined(LITE_FS_VFAT)
&& defined(_BOARD_HI3516_)
/*
/*
* @tc.number : SUB_SEC_AppSEC_PermissionMgmt_Capability_2200
* @tc.number : SUB_SEC_AppSEC_PermissionMgmt_Capability_2200
* @tc.name : Check whether the default configuration of the system process capabilities
* @tc.name : Check whether the default configuration of the system process capabilities
...
...
security_lite/permission_posix/capability/vfat/BUILD.gn
浏览文件 @
409aff76
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
# limitations under the License.
# limitations under the License.
import("//test/xts/tools/lite/build/suite_lite.gni")
import("//test/xts/tools/lite/build/suite_lite.gni")
import("//build/lite/config/subsystem/aafwk/config.gni")
hcpptest_suite("ActsVFATCapabilityTest") {
hcpptest_suite("ActsVFATCapabilityTest") {
suite_name = "acts"
suite_name = "acts"
...
@@ -39,9 +40,18 @@ hcpptest_suite("ActsVFATCapabilityTest") {
...
@@ -39,9 +40,18 @@ hcpptest_suite("ActsVFATCapabilityTest") {
"-lpthread",
"-lpthread",
]
]
if(enable_ohos_appexecfwk_feature_ability == true) {
defines = ["BOARD_HI3516_",
"LITE_FS_JFFS2",
"TOP_DIR=\"/sdcard\"",
"TOP_DIR_MOUNT_INFO=\"/sdcard vfat\"",
]
} else {
defines = [
defines = [
"LITE_FS_VFAT",
"LITE_FS_VFAT",
"TOP_DIR=\"/sdcard\"",
"TOP_DIR=\"/sdcard\"",
"TOP_DIR_MOUNT_INFO=\"/sdcard vfat\"",
"TOP_DIR_MOUNT_INFO=\"/sdcard vfat\"",
]
]
}
}
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录