diff --git a/tests/lib/pkg_elf.c b/tests/lib/pkg_elf.c index 6be358b3b..538e032e8 100644 --- a/tests/lib/pkg_elf.c +++ b/tests/lib/pkg_elf.c @@ -59,6 +59,10 @@ ATF_TC_BODY(analyse_elf, tc) ATF_REQUIRE_STREQ(tll_front(p->shlibs_provided), "libtestfbsd.so.1"); free(binpath); + xasprintf(&binpath, "%s/Makefile.autosetup", atf_tc_get_config_var(tc, "srcdir")); + ATF_REQUIRE_EQ(pkg_analyse_elf(false, p, binpath), EPKG_END); + ATF_REQUIRE_EQ(tll_length(p->shlibs_provided), 1); + free(binpath); }