summaryrefslogtreecommitdiffstats
path: root/src/usr/fapi2/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/fapi2/test')
-rw-r--r--src/usr/fapi2/test/rcSupport.C12
-rwxr-xr-xsrc/usr/fapi2/test/rcTest.C2
2 files changed, 7 insertions, 7 deletions
diff --git a/src/usr/fapi2/test/rcSupport.C b/src/usr/fapi2/test/rcSupport.C
index eda387a84..784fd0f3f 100644
--- a/src/usr/fapi2/test/rcSupport.C
+++ b/src/usr/fapi2/test/rcSupport.C
@@ -63,9 +63,9 @@ fapi2::ReturnCode p9_registerFfdc_fail(
{
FAPI_INF("Enter p9_registerFfdc_fail...");
- //FAPI_ASSERT(0, fapi2::TEST_ERROR_A().set_TARGET(i_proc_target));
+ FAPI_ASSERT(0, fapi2::TEST_ERROR_A().set_TARGET(i_proc_target));
- //fapi_try_exit:
+ fapi_try_exit:
FAPI_INF("Exiting p9_registerFfdc_fail...");
@@ -82,13 +82,13 @@ fapi2::ReturnCode p9_procedureFfdc_fail()
{
FAPI_INF("Enter p9_procedureFfdc_fail...");
- //uint32_t pib = 0x0001;
+ uint32_t pib = 0x0001;
fapi2::ReturnCode l_rc;
- //FAPI_ASSERT(0, fapi2::TEST_PROC_ERROR(fapi2::FAPI2_ERRL_SEV_RECOVERED,
- // l_rc).set_parm1(pib));
+ FAPI_ASSERT(0, fapi2::TEST_PROC_ERROR(fapi2::FAPI2_ERRL_SEV_RECOVERED,
+ l_rc).set_parm1(pib));
- //fapi_try_exit:
+ fapi_try_exit:
FAPI_INF("Exiting p9_procedureFfdc_fail...");
diff --git a/src/usr/fapi2/test/rcTest.C b/src/usr/fapi2/test/rcTest.C
index c8a437ff4..353eebbdf 100755
--- a/src/usr/fapi2/test/rcTest.C
+++ b/src/usr/fapi2/test/rcTest.C
@@ -168,7 +168,7 @@ uint32_t rcTestReturnCodeCreator()
{
// Set the return code to a HWP code (intentionally use function
// that does not add error information).
- //l_rc._setHwpError(RC_TEST_ERROR_A);
+ l_rc._setHwpError(RC_TEST_ERROR_A);
// Ensure that the creator is HWP
l_creator = l_rc.getCreator();
OpenPOWER on IntegriCloud