summaryrefslogtreecommitdiffstats
path: root/src/usr/util/test
diff options
context:
space:
mode:
authorStephen Cprek <smcprek@us.ibm.com>2017-11-29 15:44:23 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-12-12 17:06:11 -0500
commitd527220c6ffe651548c3e002e0d473492c37ad27 (patch)
tree92f14865096743a03edaf2bb8575256d824d4bab /src/usr/util/test
parentba9cad2c031bcf85fd34f8f3e8c477d38ed1db71 (diff)
downloadblackbird-hostboot-d527220c6ffe651548c3e002e0d473492c37ad27.tar.gz
blackbird-hostboot-d527220c6ffe651548c3e002e0d473492c37ad27.zip
Add component ID check for Master Container Lid Processing
Change-Id: Ie6d99d6f67f09861f0d09c8432cf90abc27400b8 RTC: 181848 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50156 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/util/test')
-rw-r--r--src/usr/util/test/testmclmgr.H6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/usr/util/test/testmclmgr.H b/src/usr/util/test/testmclmgr.H
index 290c73d5c..97c606a9d 100644
--- a/src/usr/util/test/testmclmgr.H
+++ b/src/usr/util/test/testmclmgr.H
@@ -48,6 +48,8 @@ const ComponentID COMP_TEST3 {"TEST3"};
// ASCII: TESTMAXSIZEOFSTR
const ComponentID COMP_TEST4 {0x54,0x45,0x53,0x54,0x4d,0x41,0x58,0x53,
0x49,0x5a,0x45,0x4f,0x46,0x53,0x54,0x52};
+// Comp ID for pnor section TESTRO
+const ComponentID COMP_TESTRO {"TESTRO"};
// Define deault vectors to simplify syntax
const std::vector<uint32_t> defaultLids {0xA1234567, 0x89ABCDEF, 0x13579246};
@@ -293,7 +295,7 @@ public:
// Generate test MCL with Secure Lids
TestMcl l_TestMcl { {Util::TEST_LIDID},
- {{COMP_TEST2,true}}
+ {{COMP_TESTRO,true}}
};
// Pass test MCL to MCL manager
@@ -338,7 +340,7 @@ public:
// So we will get a mismatch between the Secure header's total container
// size and what the UtilLidMgr reads out.
TestMcl l_TestMcl { {Util::TEST_LIDID, Util::TEST_LIDID},
- {{COMP_TEST2,true}}
+ {{COMP_TESTRO,true}}
};
// Pass test MCL to MCL manager
OpenPOWER on IntegriCloud