From 4c589fdd2961307fcf42edec7bd282d92e92263c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E6=B0=B8=E5=BB=B6?= Date: Thu, 28 Oct 2021 09:05:44 +0000 Subject: [PATCH] update utils_lite/kv_store_posix/src/KvStoreTest.cpp. --- utils_lite/kv_store_posix/src/KvStoreTest.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/utils_lite/kv_store_posix/src/KvStoreTest.cpp b/utils_lite/kv_store_posix/src/KvStoreTest.cpp index eda16e0ab..60f8edf8a 100755 --- a/utils_lite/kv_store_posix/src/KvStoreTest.cpp +++ b/utils_lite/kv_store_posix/src/KvStoreTest.cpp @@ -36,18 +36,18 @@ protected: static void SetUpTestCase(void) { printf("----------test case with KvStoreTest start-------------\n"); - int ret = mkdir("/storage/com.huawei.kv", S_IRUSR | S_IWUSR); - printf("/storage/com.huawei.kv ret = %d\n", ret); - ret = UtilsSetEnv("/storage/com.huawei.kv"); + int ret = mkdir("/storage/com.openharmony.kv", S_IRUSR | S_IWUSR); + printf("/storage/com.openharmony.kv ret = %d\n", ret); + ret = UtilsSetEnv("/storage/com.openharmony.kv"); EXPECT_EQ(ret, 0); } // TearDownTestCase:测试套清理动作,在最后一个TestCase之后执行 static void TearDownTestCase(void) { - int ret = rmdir("/storage/com.huawei.kv/kvstore"); - printf("/storage/com.huawei.kv/kvstore ret = %d\n", ret); - ret = rmdir("/storage/com.huawei.kv"); - printf("/storage/com.huawei.kv ret = %d\n", ret); + int ret = rmdir("/storage/com.openharmony.kv/kvstore"); + printf("/storage/com.openharmony.kv/kvstore ret = %d\n", ret); + ret = rmdir("/storage/com.openharmony.kv"); + printf("/storage/com.openharmony.kv ret = %d\n", ret); printf("----------test case with KvStoreTest end-------------\n"); } // 用例的预置动作 -- GitLab