提交 0049775d 编写于 作者: H hwx1018396

hujixiang1@huawei.com

Signed-off-by: Nhwx1018396 <hujixiang1@huawei.com>
Change-Id: Ifc577f8b1008d978b2b51a966179573620c04e45
上级 91e406dd
......@@ -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.
先完成此消息的编辑!
想要评论请 注册