testsuite: check to see if --print-requires incorrectly invokes the dependency resolver

pull/119/head
William Pitcock 2017-03-24 00:01:59 -05:00
parent 95b683c864
commit 9d05871d32
1 changed files with 9 additions and 1 deletions

View File

@ -34,7 +34,8 @@ tests_init \
nocflags \
arbitary_path \
with_path \
relocatable
relocatable \
single_depth_selectors
noargs_body()
{
@ -298,3 +299,10 @@ relocatable_body()
-o inline:"${basedir}/lib-relocatable\n" \
pkgconf --define-prefix --variable=prefix ${basedir}/lib-relocatable/lib/pkgconfig/foo.pc
}
single_depth_selectors_body()
{
atf_check \
-o inline:"foo\n" \
pkgconf --with-path=${selfdir}/lib3 --print-requires bar
}