From 9d05871d320cd581c6769e654428ee7037edee1a Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 24 Mar 2017 00:01:59 -0500 Subject: [PATCH] testsuite: check to see if --print-requires incorrectly invokes the dependency resolver --- tests/basic.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/basic.sh b/tests/basic.sh index 85c1e04..3334d72 100755 --- a/tests/basic.sh +++ b/tests/basic.sh @@ -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 +}