summaryrefslogtreecommitdiffstats
path: root/test/process_unittest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/process_unittest.cpp')
-rw-r--r--test/process_unittest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/process_unittest.cpp b/test/process_unittest.cpp
index 4f8c9a6..a908ee6 100644
--- a/test/process_unittest.cpp
+++ b/test/process_unittest.cpp
@@ -294,7 +294,7 @@ TEST(ProcessBlobCommandTest, CommandReturnsOkWithValidPayloadLength)
dataLen = sizeof(request);
EXPECT_CALL(crc, clear());
- EXPECT_CALL(crc, compute(_, payloadLen));
+ EXPECT_CALL(crc, compute(_, payloadLen - sizeof(uint16_t)));
EXPECT_CALL(crc, get()).WillOnce(Return(0x3412));
EXPECT_EQ(IPMI_CC_OK,
OpenPOWER on IntegriCloud