diff --git a/tests/basic.sh b/tests/basic.sh index ba5ce22..9c16c97 100755 --- a/tests/basic.sh +++ b/tests/basic.sh @@ -29,6 +29,7 @@ tests_init \ libs_circular_directpc \ libs_static \ libs_static_ordering \ + libs_metapackage \ license_isc \ license_noassertion \ modversion_noflatten \ @@ -250,6 +251,14 @@ libs_static_ordering_body() pkgconf --libs foo bar } +libs_metapackage_body() +{ + export PKG_CONFIG_PATH="${selfdir}/lib1" + atf_check \ + -o inline:"-L/test/lib -lbar -lfoo\n" \ + pkgconf --static --libs metapackage-3 +} + pkg_config_path_body() { export PKG_CONFIG_PATH="${selfdir}/lib1${PATH_SEP}${selfdir}/lib2" diff --git a/tests/lib1/metapackage-3.pc b/tests/lib1/metapackage-3.pc new file mode 100644 index 0000000..111954a --- /dev/null +++ b/tests/lib1/metapackage-3.pc @@ -0,0 +1,4 @@ +Name: metapackage-3 +Version: 0.1 +Description: metapackage for testing purposes +Requires.private: bar