~mmach/netext73/pkgconf

« back to all changes in this revision

Viewing changes to tests/conflicts.sh

  • Committer: mmach
  • Date: 2024-02-21 19:22:23 UTC
  • Revision ID: netbit73@gmail.com-20240221192223-5l809fiqh21udwrd
1.8.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env atf-sh
 
2
 
 
3
. $(atf_get_srcdir)/test_env.sh
 
4
 
 
5
tests_init \
 
6
        libs \
 
7
        ignore
 
8
 
 
9
libs_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
 
 
17
ignore_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
}