tools: ipmi handler must open ipmi device

The ipmi handler must open the ipmi device on the host.

Note: The initial implementation will only support ipmi system devices
that are listed as device 0.  This can be improved later or swapped
out to link against another ipmi command implementation.

Change-Id: I262039fdf3554ba144be1943875fd088766f3b57
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/test/Makefile.am b/test/Makefile.am
index a85285a..3d51fa4 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -28,7 +28,8 @@
 	firmware_commit_unittest \
 	file_handler_unittest \
 	tools_blob_unittest \
-	tools_updater_unittest
+	tools_updater_unittest \
+	tools_ipmi_unittest
 
 TESTS = $(check_PROGRAMS)
 
@@ -73,3 +74,6 @@
 
 tools_updater_unittest_SOURCES = tools_updater_unittest.cpp
 tools_updater_unittest_LDADD = $(top_builddir)/tools/updater.o
+
+tools_ipmi_unittest_SOURCES = tools_ipmi_unittest.cpp
+tools_ipmi_unittest_LDADD = $(top_builddir)/tools/ipmi_handler.o