From c128ffbcb76ae232f8c657e38ed56f781ada4325 Mon Sep 17 00:00:00 2001 From: RXD Date: Wed, 22 Sep 2021 13:20:43 +0000 Subject: [PATCH] =?UTF-8?q?fixed=208d7ccc8=20from=20https://gitee.com/chen?= =?UTF-8?q?siming11/xts=5Facts/pulls/672=20update=20startup=5Flite/syspara?= =?UTF-8?q?=5Fposix/src/ParameterTest.cpp.=20L1=20linux=20xts=20=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E7=94=A8=E4=BE=8B=20`//test/xts/acts/startup=5Flite/s?= =?UTF-8?q?yspara=5Fposix:ActsParameterTest`=20=E4=B8=AD=E5=8F=82=E6=95=B0?= =?UTF-8?q?=E7=9A=84=E5=AD=98=E5=82=A8=E8=B7=AF=E5=BE=84=E6=98=AF`/data/sy?= =?UTF-8?q?stem/param/`=EF=BC=8C=20=E4=BD=86=E6=98=AF=20`//base/startup/sy?= =?UTF-8?q?spara=5Flite/frameworks/parameter/src/param=5Fimpl=5Fposix/para?= =?UTF-8?q?m=5Fimpl=5Fposix.c`=20=E4=B8=AD=E5=AE=9A=E4=B9=89=E7=9A=84?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E5=AD=98=E5=82=A8=E8=B7=AF=E5=BE=84=E4=B8=BA?= =?UTF-8?q?`/storage/data/system/param/`=EF=BC=8C=E4=B8=A4=E8=80=85?= =?UTF-8?q?=E4=B8=8D=E4=B8=80=E8=87=B4=EF=BC=8C=E5=AF=BC=E8=87=B4=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 现将测试用例中的参数存储路径改为 param 组件中定义的路径,两者保持一致。 Signed-off-by: Luo Xiaogang --- security_lite/datahuks_hal/Test.tmpl | 0 startup_lite/syspara_posix/src/ParameterTest.cpp | 7 ++++--- update_lite/updater_hal/Test.tmpl | 0 3 files changed, 4 insertions(+), 3 deletions(-) mode change 100755 => 100644 security_lite/datahuks_hal/Test.tmpl mode change 100644 => 100755 update_lite/updater_hal/Test.tmpl diff --git a/security_lite/datahuks_hal/Test.tmpl b/security_lite/datahuks_hal/Test.tmpl old mode 100755 new mode 100644 diff --git a/startup_lite/syspara_posix/src/ParameterTest.cpp b/startup_lite/syspara_posix/src/ParameterTest.cpp index 64a5b4205..fd4b58e82 100755 --- a/startup_lite/syspara_posix/src/ParameterTest.cpp +++ b/startup_lite/syspara_posix/src/ParameterTest.cpp @@ -28,9 +28,10 @@ class ParameterTest : public testing::Test { protected: static void SetUpTestCase(void) { - mkdir("/data", S_IRUSR | S_IWUSR); - mkdir("/data/system", S_IRUSR | S_IWUSR); - mkdir("/data/system/param", S_IRUSR | S_IWUSR); + mkdir("/storage", S_IRUSR | S_IWUSR); + mkdir("/storage/data", S_IRUSR | S_IWUSR); + mkdir("/storage/data/system", S_IRUSR | S_IWUSR); + mkdir("/storage/data/system/param", S_IRUSR | S_IWUSR); } static void TearDownTestCase(void) {} virtual void SetUp() {} diff --git a/update_lite/updater_hal/Test.tmpl b/update_lite/updater_hal/Test.tmpl old mode 100644 new mode 100755 -- GitLab