diff options
| author | Brian Horton <brianh@linux.ibm.com> | 2013-10-25 14:52:43 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-11-14 17:10:27 -0600 |
| commit | 931ed57963b8f63c67dc45144c2bb65b3f014a56 (patch) | |
| tree | ad8cb470618236b50a201cb1995ec66d9a2a2d9c /src/usr/errl/test | |
| parent | 7c353ef9c158531352888b47264ace19675b95f8 (diff) | |
| download | talos-hostboot-931ed57963b8f63c67dc45144c2bb65b3f014a56.tar.gz talos-hostboot-931ed57963b8f63c67dc45144c2bb65b3f014a56.zip | |
store error logs in PNOR
. store error logs in PNOR, truncating to 4K
. set and clear ACKnowledge bit as appropriate
. move PNOR and MBOX init code in errlmanager
until after PNOR and MBOX services
are actually up and running
Change-Id: I57c5bacae8ffd283577164a0706c081a8ef5af30
RTC: 47517
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6884
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/errl/test')
| -rw-r--r-- | src/usr/errl/test/errluserdetailtest.H | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/usr/errl/test/errluserdetailtest.H b/src/usr/errl/test/errluserdetailtest.H index 70b4669ca..f68bf41d4 100644 --- a/src/usr/errl/test/errluserdetailtest.H +++ b/src/usr/errl/test/errluserdetailtest.H @@ -90,6 +90,19 @@ public: ErrlUserDetailsString stringUD("String test - string 3"); stringUD.addToLog(errl); + // shove a lot of traces here, so that we test the truncate in the + // write to PNOR + errl->collectTrace("TARG", 1024); + errl->collectTrace("TARG", 48); + errl->collectTrace("TARG", 1024); + errl->collectTrace("TARG", 48); + errl->collectTrace("TARG", 1024); + errl->collectTrace("TARG", 48); + errl->collectTrace("TARG", 1024); + errl->collectTrace("TARG", 48); + errl->collectTrace("TARG", 1024); + errl->collectTrace("TARG", 48); + // commit the errorlog errlCommit(errl, CXXTEST_COMP_ID); } |

