tests: add regression test for #172, closes #172

feature/tap-sh
William Pitcock 2018-02-08 14:31:28 -06:00
parent 0d52339141
commit d4bb96b7f1
1 changed files with 13 additions and 1 deletions

View File

@ -9,7 +9,8 @@ tests_init \
baz \
quux \
moo \
meow
meow \
indirect_dependency_node
simple_body()
{
@ -296,3 +297,14 @@ meow_body()
-o ignore \
pkgconf --libs 'provides-test-meow < 1.2.9'
}
indirect_dependency_node_body()
{
atf_check \
-o inline:'1.2.3\n' \
pkgconf --with-path="${selfdir}/lib1" --modversion 'provides-test-meow'
atf_check \
-s exit:1 \
-e ignore \
pkgconf --with-path="${selfdir}/lib1" --modversion 'provides-test-meow = 1.3.0'
}