mirror of
https://gitee.com/openharmony/security_huks
synced 2024-11-30 10:21:22 +00:00
Description: repair tdd
Signed-off-by: wangshengming <wangshengming6@huawei.com>
This commit is contained in:
parent
9a432932b5
commit
04802eacff
@ -38,16 +38,10 @@ public:
|
||||
|
||||
void HksBatchTest::SetUpTestCase(void)
|
||||
{
|
||||
#ifdef L2_STANDARD
|
||||
OHOS::SaveStringToFile("/sys/fs/selinux/enforce", "0");
|
||||
#endif
|
||||
}
|
||||
|
||||
void HksBatchTest::TearDownTestCase(void)
|
||||
{
|
||||
#ifdef L2_STANDARD
|
||||
OHOS::SaveStringToFile("/sys/fs/selinux/enforce", "1");
|
||||
#endif
|
||||
}
|
||||
|
||||
void HksBatchTest::SetUp()
|
||||
|
@ -39,16 +39,10 @@ public:
|
||||
|
||||
void HksAesCipherPart4Test::SetUpTestCase(void)
|
||||
{
|
||||
#ifdef L2_STANDARD
|
||||
OHOS::SaveStringToFile("/sys/fs/selinux/enforce", "0");
|
||||
#endif
|
||||
}
|
||||
|
||||
void HksAesCipherPart4Test::TearDownTestCase(void)
|
||||
{
|
||||
#ifdef L2_STANDARD
|
||||
OHOS::SaveStringToFile("/sys/fs/selinux/enforce", "1");
|
||||
#endif
|
||||
}
|
||||
|
||||
void HksAesCipherPart4Test::SetUp()
|
||||
|
Loading…
Reference in New Issue
Block a user