summaryrefslogtreecommitdiffstats
path: root/src/usr/mbox/test/mboxsptest.H
diff options
context:
space:
mode:
authorDoug Gilbert <dgilbert@us.ibm.com>2013-05-08 14:54:38 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-06-11 13:16:57 -0500
commitf03a35a49b91257b59bdad052db10e6f9a7e8685 (patch)
tree91234a0575ddd68dd8b4f2d5d2208434a7be9c54 /src/usr/mbox/test/mboxsptest.H
parent1b4408af313ad567489879c8409f26edb095665d (diff)
downloadtalos-hostboot-f03a35a49b91257b59bdad052db10e6f9a7e8685.tar.gz
talos-hostboot-f03a35a49b91257b59bdad052db10e6f9a7e8685.zip
Mailbox suspend/resume for multinode IPL
RTC: 63126 Change-Id: I590fe2d38eaef58ffa8e664ca202bd7fc9877b16 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4551 Tested-by: Jenkins Server Reviewed-by: ADAM R. MUHLE <armuhle@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/mbox/test/mboxsptest.H')
-rw-r--r--src/usr/mbox/test/mboxsptest.H18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/usr/mbox/test/mboxsptest.H b/src/usr/mbox/test/mboxsptest.H
index e3d546e5e..61a5c6527 100644
--- a/src/usr/mbox/test/mboxsptest.H
+++ b/src/usr/mbox/test/mboxsptest.H
@@ -242,6 +242,24 @@ class MboxSPTest : public CxxTest::TestSuite
msg_free(msg);
}
+ void testSuspendResume(void)
+ {
+
+ errlHndl_t err = MBOX::suspend();
+ if (err)
+ {
+ TS_FAIL("MBOX:suspend failed");
+ delete err;
+ }
+
+ err = MBOX::resume();
+ if (err)
+ {
+ TS_FAIL("MBOX::resume failed");
+ delete err;
+ }
+ }
+
void testInvalidMsg(void)
{
msg_t * msg = msg_allocate();
OpenPOWER on IntegriCloud