提交 c3d82456 编写于 作者: O openharmony_ci 提交者: Gitee

!1372 Fix L1 ActsJFFS2Capability failed testcase

Merge pull request !1372 from 胡吉翔/security_lite_20211215_02
......@@ -33,11 +33,17 @@ protected:
void TearDown();
};
void CapabilityTestSuite::SetUp()
int main()
{
if (CheckFsMount(TOP_DIR, TOP_DIR_MOUNT_INFO) != 0) {
return;
return 1;
} else {
return RUN_ALL_TESTS();
}
}
void CapabilityTestSuite::SetUp()
{
// Permission mask preset when creating a file
umask(ZERO);
// Init capabilities
......
......@@ -33,12 +33,18 @@ protected:
void TearDown();
};
// Preset action of the test suite, which is executed before the first test case
void DacTestSuite::SetUp()
int main()
{
if (CheckFsMount(TOP_DIR, TOP_DIR_MOUNT_INFO) != 0) {
return;
return 1;
} else {
return RUN_ALL_TESTS();
}
}
// Preset action of the test suite, which is executed before the first test case
void DacTestSuite::SetUp()
{
// Permission mask preset when creating a file
umask(ZERO);
// Init capabilities
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册