s/::bt/::ipmi/g to be more correct
The code references bt everywhere for blocktransfer, to mean, inside the
IPMI packet itself. However, those packets could be KCS and come in
through the same IPMI daemon. Therefore, rename bt to ipmi for the data
handler type.
Change-Id: I5a460609fc09905b911b534ef6a1a13faa9cef29
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/test/firmware_stat_unittest.cpp b/test/firmware_stat_unittest.cpp
index e52ce86..e4b09bc 100644
--- a/test/firmware_stat_unittest.cpp
+++ b/test/firmware_stat_unittest.cpp
@@ -23,13 +23,13 @@
{"asdf", &imageMock},
};
std::vector<DataHandlerPack> data = {
- {FirmwareBlobHandler::FirmwareUpdateFlags::bt, nullptr},
+ {FirmwareBlobHandler::FirmwareUpdateFlags::ipmi, nullptr},
};
auto handler = FirmwareBlobHandler::CreateFirmwareBlobHandler(blobs, data);
struct BlobMeta meta;
EXPECT_TRUE(handler->stat("asdf", &meta));
- EXPECT_EQ(FirmwareBlobHandler::FirmwareUpdateFlags::bt, meta.blobState);
+ EXPECT_EQ(FirmwareBlobHandler::FirmwareUpdateFlags::ipmi, meta.blobState);
}
} // namespace blobs