Commit 0bb4f373 authored by Thomas Markwalder's avatar Thomas Markwalder

[v4_1_esv_r15_pl] Added unit tests for CVE patches

    common/tests/Makefile.am
    common/tests/option_unittest.c
parent 4584b794
......@@ -8,7 +8,7 @@ ATF_TESTS =
if HAVE_ATF
ATF_TESTS += alloc_unittest ns_name_unittest
ATF_TESTS += alloc_unittest ns_name_unittest option_unittest
alloc_unittest_SOURCES = test_alloc.c $(top_srcdir)/tests/t_api_dhcp.c
alloc_unittest_LDADD = $(ATF_LDFLAGS)
......@@ -20,6 +20,11 @@ ns_name_unittest_LDADD = $(ATF_LDFLAGS)
ns_name_unittest_LDADD += ../libdhcp.a \
../../omapip/libomapi.a ../../dst/libdst.a ../../minires/libres.a
option_unittest_SOURCES = option_unittest.c $(top_srcdir)/tests/t_api_dhcp.c
option_unittest_LDADD = $(ATF_LDFLAGS)
option_unittest_LDADD += ../libdhcp.a \
../../omapip/libomapi.a ../../dst/libdst.a ../../minires/libres.a
check: $(ATF_TESTS)
sh ${top_srcdir}/tests/unittest.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment