ipmi: start implementing flashVerifyCheck
Change-Id: I811693d9e736d273d2df9e65f7c5de7efd1d884c
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/test/flash_flashdata_unittest.cpp b/test/flash_flashdata_unittest.cpp
index df561ec..112565a 100644
--- a/test/flash_flashdata_unittest.cpp
+++ b/test/flash_flashdata_unittest.cpp
@@ -30,7 +30,7 @@
// Verify that there is sanity checking.
std::vector<uint8_t> bytes = {0xaa, 0x55};
- FlashUpdate updater(name);
+ FlashUpdate updater(name, "");
EXPECT_FALSE(updater.flashData(0, bytes));
// Verify the file doesn't exist.
@@ -43,7 +43,7 @@
// Verify that under normal usage it writes the bytes.
std::vector<uint8_t> bytes = {0xaa, 0x55};
- FlashUpdate updater(name);
+ FlashUpdate updater(name, "");
updater.start(THIRTYTWO_MIB);
EXPECT_TRUE(updater.flashData(0, bytes));
@@ -65,7 +65,7 @@
std::vector<uint8_t> bytes = {0xaa, 0x55};
- FlashUpdate updater(name);
+ FlashUpdate updater(name, "");
updater.start(THIRTYTWO_MIB);
EXPECT_TRUE(updater.flashData(2, bytes));