Add unit tests for policy::find()
Test that everything works when passing in a property
map that contains an error message and the additional
data. This exercises the code that finds a search
modifier.
Change-Id: If3abcea41aa1f98b97262f1e8a0483e1772e9842
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/test/Makefile.am b/test/Makefile.am
index bbb71b5..a699696 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -12,5 +12,6 @@
test_policy_SOURCES = test_policy.cpp
test_policy_LDADD = \
$(top_builddir)/policy_table.o \
+ $(top_builddir)/policy_find.o \
-lstdc++fs \
$(SDBUSPLUS_LIBS)