PEL: Rename function that gets RO data path

It was just named after the message registry path, but soon other files
will be in that same directory so make it more generic.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I91117d685aec43f26b9fc6baa2955de3d1affde4
diff --git a/test/openpower-pels/paths.cpp b/test/openpower-pels/paths.cpp
index 254d2d0..6ada712 100644
--- a/test/openpower-pels/paths.cpp
+++ b/test/openpower-pels/paths.cpp
@@ -50,17 +50,17 @@
     return repoPath;
 }
 
-std::filesystem::path getMessageRegistryPath()
+std::filesystem::path getPELReadOnlyDataPath()
 {
-    static std::string registryPath;
+    static std::string dataPath;
 
-    if (registryPath.empty())
+    if (dataPath.empty())
     {
-        char templ[] = "/tmp/msgregtestXXXXXX";
-        registryPath = mkdtemp(templ);
+        char templ[] = "/tmp/pelrodatatestXXXXXX";
+        dataPath = mkdtemp(templ);
     }
 
-    return registryPath;
+    return dataPath;
 }
 
 } // namespace pels
diff --git a/test/openpower-pels/pel_manager_test.cpp b/test/openpower-pels/pel_manager_test.cpp
index 00427c2..92713e9 100644
--- a/test/openpower-pels/pel_manager_test.cpp
+++ b/test/openpower-pels/pel_manager_test.cpp
@@ -208,7 +208,7 @@
 }
 )";
 
-    auto path = getMessageRegistryPath();
+    auto path = getPELReadOnlyDataPath();
     fs::create_directories(path);
     path /= "message_registry.json";
 
diff --git a/test/openpower-pels/pel_utils.hpp b/test/openpower-pels/pel_utils.hpp
index fae62cd..fb7662e 100644
--- a/test/openpower-pels/pel_utils.hpp
+++ b/test/openpower-pels/pel_utils.hpp
@@ -33,7 +33,7 @@
     {
         pelIDFile = openpower::pels::getPELIDFile();
         repoPath = openpower::pels::getPELRepoPath();
-        registryPath = openpower::pels::getMessageRegistryPath();
+        registryPath = openpower::pels::getPELReadOnlyDataPath();
     }
 
     void TearDown() override