summaryrefslogtreecommitdiffstats
path: root/src/usr/errl/test/errltest.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/errl/test/errltest.H')
-rw-r--r--src/usr/errl/test/errltest.H12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/usr/errl/test/errltest.H b/src/usr/errl/test/errltest.H
index 00a5f90f6..ff5df6b65 100644
--- a/src/usr/errl/test/errltest.H
+++ b/src/usr/errl/test/errltest.H
@@ -1176,7 +1176,7 @@ public:
/**
* @brief Verify subsystem mapping
*
- * Simple test for now that targets test for TYPE_MC related defect
+ * Simple test for now that targets test for defects in this area
* Can be expanded on later if time permits
*/
void testErrl_verifySubsystem(void)
@@ -1199,6 +1199,16 @@ public:
{
TS_INFO( "Correct subsystem type returned for TYPE_MC!" );
}
+
+ l_subsys = l_err->getSubSystem(TARGETING::TYPE_SMPGROUP);
+ if(l_subsys != EPUB_CEC_HDW_SUBSYS)
+ {
+ TS_FAIL( "Incorrect subsystem type returned for TYPE_SMPGROUP" );
+ }
+ else
+ {
+ TS_INFO( "Correct subsystem type returned for TYPE_SMPGROUP!" );
+ }
// Delete the log
delete l_err;
l_err = NULL;
OpenPOWER on IntegriCloud