From 283be947a14d9d1d5c6dab14b18f7d59d066a9d7 Mon Sep 17 00:00:00 2001 From: keminLuo Date: Mon, 7 Aug 2023 15:16:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=AF=91=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20Signed-off-by:=20=E7=BD=97=E9=94=AE=E9=93=AD=20<541?= =?UTF-8?q?416002@qq.com>?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../device_attestStart_posix/src/device_attest_start.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/xts_lite/device_attest_lite/device_attestStart_posix/src/device_attest_start.cpp b/xts_lite/device_attest_lite/device_attestStart_posix/src/device_attest_start.cpp index f31199d86..57262fe55 100644 --- a/xts_lite/device_attest_lite/device_attestStart_posix/src/device_attest_start.cpp +++ b/xts_lite/device_attest_lite/device_attestStart_posix/src/device_attest_start.cpp @@ -20,10 +20,11 @@ #include "devattest_interface.h" #define ATTEST_SOFTWARE_RESULT_SIZE 5 +#define ACTS_DEVATTEST_SUCCESS 0 using namespace std; using namespace testing::ext; - + class DeviceAttestStartTest : public testing::Test { protected: static void SetUpTestCase(void) {} @@ -41,8 +42,8 @@ protected: */ HWTEST_F(DeviceAttestStartTest, subDeviceAttestTest0100, Function | MediumTest | Level1) { - int32_t ret = DEVATTEST_SUCCESS; + int32_t ret = ACTS_DEVATTEST_SUCCESS; ret = StartDevAttestTask(); printf("[CLIENT MAIN] StartDevAttestTask ret:%d.\n", ret); - EXPECT_EQ(ret, DEVATTEST_SUCCESS); -} \ No newline at end of file + EXPECT_EQ(ret, ACTS_DEVATTEST_SUCCESS); +} -- GitLab