From a246d3e00bc0cd746e11ba35f9289394b5764263 Mon Sep 17 00:00:00 2001 From: nan-xiansen Date: Mon, 27 Mar 2023 20:04:57 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90startup=5Flite=E3=80=91GetSecurityPatc?= =?UTF-8?q?hTag=E6=8E=A5=E5=8F=A3=E8=BF=94=E5=9B=9E=E5=80=BC=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E5=8F=98=E6=9B=B4=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nan-xiansen Change-Id: Id9a7346c139a768a4ae62dc157fa50ed98e90956 --- startup_lite/syspara_hal/src/deviceinfo_func_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/startup_lite/syspara_hal/src/deviceinfo_func_test.c b/startup_lite/syspara_hal/src/deviceinfo_func_test.c index 8f89b6d3b..ffdbfbde0 100644 --- a/startup_lite/syspara_hal/src/deviceinfo_func_test.c +++ b/startup_lite/syspara_hal/src/deviceinfo_func_test.c @@ -477,7 +477,7 @@ LITE_TEST_CASE(DeviceInfoFuncTestSuite, TEST_ASSERT_TRUE(day <= 31 && day > 0); char str[10] = {0}; - ret = sprintf_s(str, sizeof(str) + 1, "%d-%02d-%02d", year, month, day); + ret = sprintf_s(str, sizeof(str) + 1, "%d\/%02d\/%02d", year, month, day); if (ret < RET_SUCCESS) { TEST_ASSERT_TRUE(ret >= 0); -- GitLab