ipmi: start implementing flashVerifyCheck
Change-Id: I811693d9e736d273d2df9e65f7c5de7efd1d884c
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/test/flash_hashdata_unittest.cpp b/test/flash_hashdata_unittest.cpp
index f9a3ffa..8d7be77 100644
--- a/test/flash_hashdata_unittest.cpp
+++ b/test/flash_hashdata_unittest.cpp
@@ -35,7 +35,7 @@
std::vector<uint8_t> bytes = {0xaa, 0x55};
- FlashUpdate updater(name, name2);
+ FlashUpdate updater(name, "", name2);
EXPECT_FALSE(updater.hashData(0, bytes));
}
@@ -44,7 +44,7 @@
// Verify the normal use case works.
std::vector<uint8_t> bytes = {0xaa, 0x55};
- FlashUpdate updater(name, name2);
+ FlashUpdate updater(name, "", name2);
EXPECT_TRUE(updater.start(THIRTYTWO_MIB));
EXPECT_TRUE(updater.startHash(THIRTYTWO_MIB));
EXPECT_TRUE(updater.hashData(0, bytes));
@@ -67,7 +67,7 @@
std::vector<uint8_t> bytes = {0xaa, 0x55};
- FlashUpdate updater(name, name2);
+ FlashUpdate updater(name, "", name2);
EXPECT_TRUE(updater.start(THIRTYTWO_MIB));
EXPECT_TRUE(updater.startHash(THIRTYTWO_MIB));
EXPECT_TRUE(updater.hashData(2, bytes));