pkgconf/tests/conflicts.sh

24 lines
390 B
Bash
Raw Normal View History

2016-09-18 20:48:13 +00:00
#!/usr/bin/env atf-sh
. $(atf_get_srcdir)/test_env.sh
tests_init \
libs \
ignore
libs_body()
{
export PKG_CONFIG_PATH="${selfdir}/lib1"
atf_check \
-o inline:"-L/test/lib -lconflicts \n" \
2016-09-18 20:48:13 +00:00
pkgconf --libs conflicts
}
ignore_body()
{
export PKG_CONFIG_PATH="${selfdir}/lib1"
atf_check \
-o inline:"-L/test/lib -lconflicts \n" \
2016-09-18 20:48:13 +00:00
pkgconf --ignore-conflicts --libs conflicts
}