Replace std::experimental::filesystem with std::filesystem

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I91d2f1b7a8858ba8c676b68693863bb35b56dffc
diff --git a/test/TestI2cOcc.cpp b/test/TestI2cOcc.cpp
index 92028fd..c0fe979 100644
--- a/test/TestI2cOcc.cpp
+++ b/test/TestI2cOcc.cpp
@@ -1,6 +1,6 @@
 #include "i2c_occ.hpp"
 
-#include <experimental/filesystem>
+#include <filesystem>
 #include <fstream>
 #include <string>
 
@@ -10,7 +10,7 @@
 namespace i2c_occ
 {
 
-namespace fs = std::experimental::filesystem;
+namespace fs = std::filesystem;
 
 using namespace std::string_literals;
 const auto STR_4_0050 = "4-0050"s;
diff --git a/test/error_files_tests.cpp b/test/error_files_tests.cpp
index c412e63..6931cdc 100644
--- a/test/error_files_tests.cpp
+++ b/test/error_files_tests.cpp
@@ -17,7 +17,7 @@
 constexpr auto legacyErrorTemp = "occ_dvfs_ot";
 constexpr auto noError = "0";
 
-namespace fs = std::experimental::filesystem;
+namespace fs = std::filesystem;
 using namespace open_power::occ;
 
 class ErrorFiles : public ::testing::Test
diff --git a/test/utest.cpp b/test/utest.cpp
index 2933023..05c8f71 100644
--- a/test/utest.cpp
+++ b/test/utest.cpp
@@ -4,7 +4,7 @@
 #include <occ_events.hpp>
 #include <occ_manager.hpp>
 
-#include <experimental/filesystem>
+#include <filesystem>
 
 #include <gtest/gtest.h>
 
@@ -47,7 +47,7 @@
 
 TEST(VerifyPathParsing, EmptyPath)
 {
-    std::experimental::filesystem::path path = "";
+    std::filesystem::path path = "";
     std::string parsed = Device::getPathBack(path);
 
     EXPECT_STREQ(parsed.c_str(), "");
@@ -55,7 +55,7 @@
 
 TEST(VerifyPathParsing, FilenamePath)
 {
-    std::experimental::filesystem::path path = "/test/foo.bar";
+    std::filesystem::path path = "/test/foo.bar";
     std::string parsed = Device::getPathBack(path);
 
     EXPECT_STREQ(parsed.c_str(), "foo.bar");
@@ -63,7 +63,7 @@
 
 TEST(VerifyPathParsing, DirectoryPath)
 {
-    std::experimental::filesystem::path path = "/test/bar/";
+    std::filesystem::path path = "/test/bar/";
     std::string parsed = Device::getPathBack(path);
 
     EXPECT_STREQ(parsed.c_str(), "bar");