summaryrefslogtreecommitdiffstats
path: root/test/mbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/mbox.c')
-rw-r--r--test/mbox.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/mbox.c b/test/mbox.c
index dbf2526..a622d6e 100644
--- a/test/mbox.c
+++ b/test/mbox.c
@@ -231,6 +231,9 @@ struct mbox_context *mbox_create_test_context(int n_windows, size_t len)
test.context.windows.num = n_windows;
test.context.windows.default_size = len;
+ rc = protocol_init(&test.context);
+ assert(rc == 0);
+
/*
* We need to call __init_mbox_dev() to initialise the handler table.
* However, afterwards we need to discard the fd of the clearly useless
OpenPOWER on IntegriCloud