forked from ariadne/pkgconf
24 lines
388 B
Bash
Executable File
24 lines
388 B
Bash
Executable File
#!/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" \
|
|
pkgconf --libs conflicts
|
|
}
|
|
|
|
ignore_body()
|
|
{
|
|
export PKG_CONFIG_PATH="${selfdir}/lib1"
|
|
atf_check \
|
|
-o inline:"-L/test/lib -lconflicts\n" \
|
|
pkgconf --ignore-conflicts --libs conflicts
|
|
}
|