From 5d8dd9af9d7a4df742ebbd8cdf20c58a8e95b05f Mon Sep 17 00:00:00 2001 From: Dan Crowell Date: Mon, 19 Aug 2013 08:56:23 -0500 Subject: Catch overrun of HSVC attributes in HDAT Ran into a problem integrating a new HB release that would have been a lot easier to debug if this code had been there. Change-Id: I3c420172bcff25a7042d3ee603f179273ba88761 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/5827 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III --- src/usr/runtime/test/hdatservicetest.H | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/usr/runtime/test/hdatservicetest.H') diff --git a/src/usr/runtime/test/hdatservicetest.H b/src/usr/runtime/test/hdatservicetest.H index 4ddc089ea..3094e80aa 100644 --- a/src/usr/runtime/test/hdatservicetest.H +++ b/src/usr/runtime/test/hdatservicetest.H @@ -418,6 +418,19 @@ class HdatServiceTest: public CxxTest::TestSuite TS_FAIL("testSpira> Size of SPIRA_H data too small"); } + errhdl = new ERRORLOG::ErrlEntry( + ERRORLOG::ERRL_SEV_UNRECOVERABLE, + RUNTIME::MOD_HDATSERVICE_VERIFY_HDAT_ADDRESS, + RUNTIME::RC_BAD_HDAT_HEADER, + 0,0 ); + add_host_data_ffdc(RUNTIME::HSVC_NODE_DATA,errhdl); + add_host_data_ffdc(RUNTIME::HSVC_SYSTEM_DATA,errhdl); + add_host_data_ffdc(RUNTIME::NACA,errhdl); + add_host_data_ffdc(RUNTIME::SPIRA_L,errhdl); + add_host_data_ffdc(RUNTIME::SPIRA_S,errhdl); + add_host_data_ffdc(RUNTIME::SPIRA_H,errhdl); + errlCommit(errhdl,RUNTIME_COMP_ID); + TRACFCOMP( g_trac_runtime, "testSpira> finish" ); #endif -- cgit v1.2.1