bmc: add test for reserved flags
Test that no one adds transport backends which use the lower 3 bits of
the transport flag bitfield. These bits are reserved for exclusive use
with the IPMI, LPC, and P2A backends to ensure backwards compatibility
with older host tools.
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Change-Id: I6284f2c864aeb5e20a812c0b13e9ecc61349b127
diff --git a/bmc/test/Makefile.am b/bmc/test/Makefile.am
index ce8ac08..9f1aa37 100644
--- a/bmc/test/Makefile.am
+++ b/bmc/test/Makefile.am
@@ -27,6 +27,7 @@
firmware_canhandle_unittest \
firmware_write_unittest \
firmware_writemeta_unittest \
+ firmware_open_unittest \
firmware_close_unittest \
firmware_sessionstat_unittest \
firmware_commit_unittest \
@@ -60,6 +61,9 @@
firmware_writemeta_unittest_SOURCES = firmware_writemeta_unittest.cpp
firmware_writemeta_unittest_LDADD = $(top_builddir)/bmc/libfirmwareblob_common.la
+firmware_open_unittest_SOURCES = firmware_open_unittest.cpp
+firmware_open_unittest_LDADD = $(top_builddir)/bmc/libfirmwareblob_common.la
+
firmware_close_unittest_SOURCES = firmware_close_unittest.cpp
firmware_close_unittest_LDADD = $(top_builddir)/bmc/libfirmwareblob_common.la