Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
6b30a060
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看板
未验证
提交
6b30a060
编写于
6月 06, 2022
作者:
O
openharmony_ci
提交者:
Gitee
6月 06, 2022
浏览文件
操作
浏览文件
下载
差异文件
!3412 Capability及DAC代码关于JFFS2文件系统和Linux的用例删除
Merge pull request !3412 from 胡吉翔/lite_20220601_02
上级
679e4cec
5005b4ef
变更
11
展开全部
隐藏空白更改
内联
并排
Showing
11 changed file
with
25 addition
and
5497 deletion
+25
-5497
security_lite/permission_posix/capability/BUILD.gn
security_lite/permission_posix/capability/BUILD.gn
+1
-4
security_lite/permission_posix/capability/jffs/BUILD.gn
security_lite/permission_posix/capability/jffs/BUILD.gn
+0
-57
security_lite/permission_posix/capability/jffs/Test.json
security_lite/permission_posix/capability/jffs/Test.json
+0
-25
security_lite/permission_posix/capability/src/ActsCapabilityTest.cpp
...te/permission_posix/capability/src/ActsCapabilityTest.cpp
+22
-555
security_lite/permission_posix/dac/BUILD.gn
security_lite/permission_posix/dac/BUILD.gn
+1
-4
security_lite/permission_posix/dac/jffs/BUILD.gn
security_lite/permission_posix/dac/jffs/BUILD.gn
+0
-53
security_lite/permission_posix/dac/jffs/Test.json
security_lite/permission_posix/dac/jffs/Test.json
+0
-25
security_lite/permission_posix/dac/src/ActsDacPreTest.cpp
security_lite/permission_posix/dac/src/ActsDacPreTest.cpp
+1
-1
security_lite/permission_posix/dac/src/ActsDacTest.cpp
security_lite/permission_posix/dac/src/ActsDacTest.cpp
+0
-601
security_lite/permission_posix/dac/src/ActsSystemDevDacTest.cpp
...ty_lite/permission_posix/dac/src/ActsSystemDevDacTest.cpp
+0
-2053
security_lite/permission_posix/dac/src/ActsSystemJffsDacTest.cpp
...y_lite/permission_posix/dac/src/ActsSystemJffsDacTest.cpp
+0
-2119
未找到文件。
security_lite/permission_posix/capability/BUILD.gn
浏览文件 @
6b30a060
...
...
@@ -12,10 +12,7 @@
# limitations under the License.
group("ActsCapabilityTest") {
deps = [
"./jffs:ActsJFFS2CapabilityTest",
"./vfat:ActsVFATCapabilityTest",
]
deps = [ "./vfat:ActsVFATCapabilityTest" ]
}
shared_library("capability_shared") {
...
...
security_lite/permission_posix/capability/jffs/BUILD.gn
已删除
100755 → 0
浏览文件 @
679e4cec
# Copyright (c) 2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//build/lite/config/subsystem/aafwk/config.gni")
import("//test/xts/tools/lite/build/suite_lite.gni")
hcpptest_suite("ActsJFFS2CapabilityTest") {
suite_name = "acts"
sources = [
"../src/ActsCapability.cpp",
"../src/ActsCapabilityTest.cpp",
"../src/CapabilityFileSystemTest.cpp",
]
include_dirs = [
"../src",
"//third_party/bounds_checking_function/include",
]
public_deps = [ "//third_party/bounds_checking_function:libsec_shared" ]
cflags_cc = [
"-Wno-write-strings",
"-Wno-sign-compare",
]
ldflags = [
"-lstdc++",
"-lm",
"-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 = [
"LITE_FS_JFFS2",
"TOP_DIR=\"/storage\"",
"TOP_DIR_MOUNT_INFO=\"/storage jffs\"",
]
}
}
security_lite/permission_posix/capability/jffs/Test.json
已删除
100644 → 0
浏览文件 @
679e4cec
{
"description"
:
"Config for hcpptest demo test cases"
,
"environment"
:
[
{
"type"
:
"device"
,
"label"
:
"ipcamera"
}
],
"kits"
:
[
{
"type"
:
"MountKit"
,
"server"
:
"NfsServer"
,
"mount"
:
[
{
"source"
:
"testcases/security"
,
"target"
:
"/test_root/security"
}
]
}
],
"driver"
:
{
"type"
:
"CppTestLite"
,
"execute"
:
"/test_root/security/ActsJFFS2CapabilityTest.bin"
}
}
\ No newline at end of file
security_lite/permission_posix/capability/src/ActsCapabilityTest.cpp
浏览文件 @
6b30a060
此差异已折叠。
点击以展开。
security_lite/permission_posix/dac/BUILD.gn
浏览文件 @
6b30a060
...
...
@@ -12,8 +12,5 @@
# limitations under the License.
group("ActsDacTest") {
deps = [
"./jffs:ActsJFFS2DACTest",
"./vfat:ActsVFATDACTest",
]
deps = [ "./vfat:ActsVFATDACTest" ]
}
security_lite/permission_posix/dac/jffs/BUILD.gn
已删除
100755 → 0
浏览文件 @
679e4cec
# Copyright (c) 2021 Huawei Device Co., Ltd.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import("//test/xts/tools/lite/build/suite_lite.gni")
hcpptest_suite("ActsJFFS2DACTest") {
suite_name = "acts"
sources = [
"../src/ActsDacPreTest.cpp",
"../src/ActsDacTest.cpp",
"../src/ActsSystemDevDacTest.cpp",
"../src/ActsSystemJffsDacTest.cpp",
"../src/DACFileSystemTest.cpp",
]
include_dirs = [
"../src",
"../../capability/src",
"//third_party/bounds_checking_function/include",
]
public_deps = [
"../../capability:capability_shared",
"//third_party/bounds_checking_function:libsec_shared",
]
cflags_cc = [
"-Wno-write-strings",
"-Wno-sign-compare",
]
ldflags = [
"-lstdc++",
"-lm",
"-lpthread",
]
defines = [
"LITE_FS_JFFS2",
"TOP_DIR=\"/storage\"",
"TOP_DIR_MOUNT_INFO=\"/storage jffs\"",
]
}
security_lite/permission_posix/dac/jffs/Test.json
已删除
100644 → 0
浏览文件 @
679e4cec
{
"description"
:
"Config for hcpptest demo test cases"
,
"environment"
:
[
{
"type"
:
"device"
,
"label"
:
"ipcamera"
}
],
"kits"
:
[
{
"type"
:
"MountKit"
,
"server"
:
"NfsServer"
,
"mount"
:
[
{
"source"
:
"testcases/security"
,
"target"
:
"/test_root/security"
}
]
}
],
"driver"
:
{
"type"
:
"CppTestLite"
,
"execute"
:
"/test_root/security/ActsJFFS2DACTest.bin"
}
}
\ No newline at end of file
security_lite/permission_posix/dac/src/ActsDacPreTest.cpp
浏览文件 @
6b30a060
...
...
@@ -25,7 +25,7 @@
using
namespace
std
;
using
namespace
testing
::
ext
;
#if defined(LITE_FS_
JFFS2) || defined(LITE_FS_
VFAT)
#if defined(LITE_FS_VFAT)
static
int
TestSetUid
()
{
// Test the 'setuid' interface
...
...
security_lite/permission_posix/dac/src/ActsDacTest.cpp
已删除
100755 → 0
浏览文件 @
679e4cec
此差异已折叠。
点击以展开。
security_lite/permission_posix/dac/src/ActsSystemDevDacTest.cpp
已删除
100644 → 0
浏览文件 @
679e4cec
此差异已折叠。
点击以展开。
security_lite/permission_posix/dac/src/ActsSystemJffsDacTest.cpp
已删除
100644 → 0
浏览文件 @
679e4cec
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录