diff options
| author | Andrew Jeffery <andrew@aj.id.au> | 2018-08-10 14:41:48 +0930 |
|---|---|---|
| committer | Andrew Jeffery <andrew@aj.id.au> | 2018-09-14 16:50:28 +0930 |
| commit | 23a48212475a61c198cef08ad15c0a348d8d1d02 (patch) | |
| tree | d7904a8641750f70eef7aaab0de6dbb02a525557 /test | |
| parent | 23140bee314429fad75ad7dfdc6df2b656f552b0 (diff) | |
| download | phosphor-mboxbridge-23a48212475a61c198cef08ad15c0a348d8d1d02.tar.gz phosphor-mboxbridge-23a48212475a61c198cef08ad15c0a348d8d1d02.zip | |
transport: Switch transports as required on GET_MBOX_INFO
Also flush the event state out via the new transport. This must be done
after the command has completed for the mbox transport.
Change-Id: I251fb949ae67a477288d0d57a1a6afe5b2af5f8f
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'test')
| -rw-r--r-- | test/mbox.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/mbox.c b/test/mbox.c index 6549813..f7560f1 100644 --- a/test/mbox.c +++ b/test/mbox.c @@ -70,6 +70,8 @@ int mbox_cmp(struct mbox_context *context, const uint8_t *expected, size_t len) fstat(fd, &details); map = mmap(NULL, details.st_size, PROT_READ, MAP_PRIVATE, fd, 0); + printf("%s:%d: details.st_size: %ld, RESPONSE_OFFSET + len: %ld\n", + __func__, __LINE__, details.st_size, RESPONSE_OFFSET + len); assert(map != MAP_FAILED); assert(details.st_size >= (RESPONSE_OFFSET + len)); |

