summaryrefslogtreecommitdiffstats
path: root/src/test/propertygentest.cpp
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-05-31 19:44:53 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-06-19 16:26:48 -0400
commitbabf3b78deb58a2f40e405713f5ceb1485457529 (patch)
tree28e57e6a9c8e3fd6dd092a58cd6d0dad891270ce /src/test/propertygentest.cpp
parent2d6586a6bcfa2a97b0370dd5a6c0df18ba93641f (diff)
downloadphosphor-dbus-monitor-babf3b78deb58a2f40e405713f5ceb1485457529.tar.gz
phosphor-dbus-monitor-babf3b78deb58a2f40e405713f5ceb1485457529.zip
pdmgen: Require uppercase meta keys
journald ignores lowercase metadata keys so require them to be uppercase. Abort the config file parse when lowercase keys are found. Change-Id: Icffffdc6680b4d305329c3395f8e2fda6210964f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'src/test/propertygentest.cpp')
-rw-r--r--src/test/propertygentest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/propertygentest.cpp b/src/test/propertygentest.cpp
index cf32191..e5c95c2 100644
--- a/src/test/propertygentest.cpp
+++ b/src/test/propertygentest.cpp
@@ -17,9 +17,9 @@ using GroupOfProperties = std::vector<Property>;
#include "propertygentest.hpp"
const std::array<std::string, 3> expectedMeta =
{
- "property1"s,
- "property2"s,
- "property3"s,
+ "PROPERTY1"s,
+ "PROPERTY2"s,
+ "PROPERTY3"s,
};
const std::array<std::string, 4> expectedInterfaces =
OpenPOWER on IntegriCloud