summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas/test
diff options
context:
space:
mode:
authorBrian Horton <brianh@linux.ibm.com>2014-06-20 16:42:24 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-06-30 09:30:59 -0500
commitf555d057b419d1c6708b01437564ea4ab31ef4ce (patch)
treeea05a3c39ec8b98fdd9af96212a6d0ccf025190b /src/usr/hwas/test
parent9c4aa90f178a4f9ed68bdb0d17eec52785c5ea47 (diff)
downloadtalos-hostboot-f555d057b419d1c6708b01437564ea4ab31ef4ce.tar.gz
talos-hostboot-f555d057b419d1c6708b01437564ea4ab31ef4ce.zip
add 'did we really deconfigure the target' parameter
Change-Id: Id1e1639f49223d4fc25493453a9897d0ce7adb90 CQ: SW259741 Co-req: 925271 Backport: release-fips811 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/11736 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwas/test')
-rw-r--r--src/usr/hwas/test/hwasGardTest.H8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/usr/hwas/test/hwasGardTest.H b/src/usr/hwas/test/hwasGardTest.H
index 2446c92c7..3abb7a005 100644
--- a/src/usr/hwas/test/hwasGardTest.H
+++ b/src/usr/hwas/test/hwasGardTest.H
@@ -190,13 +190,19 @@ public:
HwasState l_origState = l_pTarget->getAttr<ATTR_HWAS_STATE>();
// Deconfigure the target.
+ bool l_targetDeconfigured = false;
l_pErr = theDeconfigGard().
- deconfigureTarget(*l_pTarget, 0x12);
+ deconfigureTarget(*l_pTarget, 0x12, &l_targetDeconfigured);
if (l_pErr)
{
TS_FAIL("testDeconfigure3: Error from deconfigureTarget");
break;
}
+ if (l_targetDeconfigured == false)
+ {
+ TS_FAIL("testDeconfigure3: deconfigureTarget didn't set targetDeconfigured correctly");
+ break;
+ }
// Get the new HWAS_STATE of the target
HwasState l_state = l_pTarget->getAttr<ATTR_HWAS_STATE>();
OpenPOWER on IntegriCloud