From 3b6ba78f15a04d07fd0a49e365ce4014bae4a922 Mon Sep 17 00:00:00 2001 From: zhangkaixiang Date: Sun, 25 Sep 2022 13:52:12 +0000 Subject: [PATCH] modify the file path to test CreateSharePath Signed-off-by: zhangkaixiang --- test/unittest/remote_file_share/remote_file_share_test.cpp | 2 +- test/unittest/resource/ohos_test.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unittest/remote_file_share/remote_file_share_test.cpp b/test/unittest/remote_file_share/remote_file_share_test.cpp index ef9a87cfd..8e176c786 100644 --- a/test/unittest/remote_file_share/remote_file_share_test.cpp +++ b/test/unittest/remote_file_share/remote_file_share_test.cpp @@ -125,7 +125,7 @@ namespace { HWTEST_F(RemoteFileShareTest, Remote_file_share_CreateSharePath_0004, testing::ext::TestSize.Level1) { GTEST_LOG_(INFO) << "RemoteFileShareTest-begin Remote_file_share_CreateSharePath_0004"; - const string fileStr = "/mnt/hmdfs/100/account/merge_view/services/remote_file_share_test.txt"; + const string fileStr = "/data/test/remote_file_share_test.txt"; int fd = open(fileStr.c_str(), O_RDWR); ASSERT_TRUE(fd != -1) << "RemoteFileShareTest Create File Failed!"; const int userId = 100; diff --git a/test/unittest/resource/ohos_test.xml b/test/unittest/resource/ohos_test.xml index 068c2bb10..966c8ea6f 100644 --- a/test/unittest/resource/ohos_test.xml +++ b/test/unittest/resource/ohos_test.xml @@ -16,7 +16,7 @@ - -- Gitee