ipmi: start implementing flashVerifyCheck
Change-Id: I811693d9e736d273d2df9e65f7c5de7efd1d884c
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/test/flash_hashfinish_unittest.cpp b/test/flash_hashfinish_unittest.cpp
index de785ae..12ff7a8 100644
--- a/test/flash_hashfinish_unittest.cpp
+++ b/test/flash_hashfinish_unittest.cpp
@@ -33,7 +33,7 @@
// Verify that there is sanity checking
std::vector<uint8_t> bytes = {0xaa, 0x55};
- FlashUpdate updater(name, name2);
+ FlashUpdate updater(name, "", name2);
EXPECT_FALSE(updater.hashFinish());
// Verify the file doesn't exist.
@@ -46,7 +46,7 @@
// Verify that under normal usage it closes the file.
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.hashFinish());
@@ -63,7 +63,7 @@
// be closed twice.
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.hashFinish());