PEL: Change the BMC version UD label to FW version
Change the label of the version ID field in the automatically added
UserData section to be 'FW Version ID' instead of 'BMC Version ID'.
While it does describe the BMC image version, the hostboot code is also
contained in the image so it also describes that version. Since this
section data also goes into an ED section that hostboot makes for us to
fill in within their PELs, 'BMC Version' was called out as being
misleading.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I6d5a3551ca2aa3ce385fdf1b374eacf3fd1e62e3
diff --git a/test/openpower-pels/pel_test.cpp b/test/openpower-pels/pel_test.cpp
index 49b8e96..1842a80 100644
--- a/test/openpower-pels/pel_test.cpp
+++ b/test/openpower-pels/pel_test.cpp
@@ -428,7 +428,7 @@
EXPECT_TRUE(found);
// @TODO(stwcx): remove 'pel_test' when removing autotools.
- auto version = json["BMC Version ID"].get<std::string>();
+ auto version = json["FW Version ID"].get<std::string>();
EXPECT_EQ(version, "ABCD1234");
auto state = json["BMCState"].get<std::string>();