tests: add orphaned-requires-private test

pull/188/head
William Pitcock 2019-01-14 14:07:19 -06:00
parent 737e326ae1
commit 9315ee9ee6
1 changed files with 11 additions and 1 deletions

View File

@ -14,7 +14,8 @@ tests_init \
missing \ missing \
requires_internal \ requires_internal \
requires_internal_missing \ requires_internal_missing \
requires_internal_collision requires_internal_collision \
orphaned_requires_private
libs_body() libs_body()
{ {
@ -112,3 +113,12 @@ requires_internal_collision_body()
-o inline:"-I/test/local/include/foo \n" \ -o inline:"-I/test/local/include/foo \n" \
pkgconf --with-path="${selfdir}/lib1" --cflags requires-internal-collision pkgconf --with-path="${selfdir}/lib1" --cflags requires-internal-collision
} }
orphaned_requires_private_body()
{
atf_check \
-s exit:1 \
-e ignore \
-o ignore \
pkgconf --with-path="${selfdir}/lib1" --cflags --libs orphaned-requires-private
}