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 ef9a87cfd96fd26c753b75c596bfb93d35b9b731..8e176c78676e260daa52c5998d113af3fd743078 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 068c2bb10c4367472d35fd682b2eaeb535c6378d..966c8ea6fe8417224b00e767934a6637eddf5157 100644 --- a/test/unittest/resource/ohos_test.xml +++ b/test/unittest/resource/ohos_test.xml @@ -16,7 +16,7 @@ -