xref: /freebsd/contrib/pkgconf/tests/conflicts.sh (revision a3cefe7f2b4df0f70ff92d4570ce18e517af43ec)
1#!/usr/bin/env atf-sh
2
3. $(atf_get_srcdir)/test_env.sh
4
5tests_init \
6	libs \
7	ignore
8
9libs_body()
10{
11	export PKG_CONFIG_PATH="${selfdir}/lib1"
12	atf_check \
13		-o inline:"-L/test/lib -lconflicts\n" \
14		pkgconf --libs conflicts
15}
16
17ignore_body()
18{
19	export PKG_CONFIG_PATH="${selfdir}/lib1"
20	atf_check \
21		-o inline:"-L/test/lib -lconflicts\n" \
22		pkgconf --ignore-conflicts --libs conflicts
23}
24