tools: implement bt sendcontents
Implement the block transfer (really not blocktransfer only)
sendcontents handler. This handler sends the file contents within
the IPMI packets themselves.
Note: This is really used for kcs, etc, but it's called bt to avoid
confusion with general ipmi code.
Change-Id: I310034a6afdf0eb25894e658ccee42e6394aa4d2
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/test/Makefile.am b/test/Makefile.am
index 3d51fa4..0b01997 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -28,6 +28,7 @@
firmware_commit_unittest \
file_handler_unittest \
tools_blob_unittest \
+ tools_bt_unittest \
tools_updater_unittest \
tools_ipmi_unittest
@@ -72,6 +73,9 @@
tools_blob_unittest_SOURCES = tools_blob_unittest.cpp
tools_blob_unittest_LDADD = $(top_builddir)/tools/blob_handler.o
+tools_bt_unittest_SOURCES = tools_bt_unittest.cpp
+tools_bt_unittest_LDADD = $(top_builddir)/tools/bt.o
+
tools_updater_unittest_SOURCES = tools_updater_unittest.cpp
tools_updater_unittest_LDADD = $(top_builddir)/tools/updater.o