提交 9ee05ead 编写于 作者: S sunmingze

modify detail

Signed-off-by: Nsunmingze <sunmingze3@huawei.com>
上级 ce163195
# Copyright (c) 2021 Huawei Device Co., Ltd.
# Copyright (c) 2023 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
......
......@@ -119,7 +119,6 @@ HWTEST_F(DeviceAttestQuerryTest, subDeviceAttestTest0200, Function | MediumTest
* @tc.name : HiLog::Warn parameter legal test (Cortex-A, C)
* @tc.desc : [C- SOFTWARE -0200]
*/
#ifdef __LINUX__
HWTEST_F(DeviceAttestQuerryTest, subDeviceAttestTest0300, Function | MediumTest | Level1)
{
int32_t ret = DEVATTEST_SUCCESS;
......@@ -131,21 +130,10 @@ HWTEST_F(DeviceAttestQuerryTest, subDeviceAttestTest0300, Function | MediumTest
printf("[CLIENT MAIN] query.\n");
ret = GetAttestStatus(&attestResultInfo);
printf("[CLIENT MAIN] wrong. ret:%d\n", ret);
#ifdef __LINUX__
EXPECT_EQ(ret, DEVATTEST_SUCCESS);
}
#else
HWTEST_F(DeviceAttestQuerryTest, subDeviceAttestTest0300, Function | MediumTest | Level1)
{
int32_t ret = DEVATTEST_SUCCESS;
ret = StartDevAttestTask();
printf("[CLIENT MAIN] StartDevAttestTask ret:%d.\n", ret);
EXPECT_EQ(ret, DEVATTEST_SUCCESS);
AttestResultInfo attestResultInfo = { 0 };
attestResultInfo.ticket = NULL;
printf("[CLIENT MAIN] query.\n");
ret = GetAttestStatus(&attestResultInfo);
printf("[CLIENT MAIN] wrong. ret:%d\n", ret);
EXPECT_FALSE(ret == DEVATTEST_SUCCESS);
}
#endif
}
# Copyright (c) 2020 Huawei Device Co., Ltd.
# Copyright (c) 2023 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
......
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 2023 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
......
# Copyright (c) 2021 Huawei Device Co., Ltd.
# Copyright (c) 2023 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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册