tests: add a test case for #146

Baptiste Daroussin 2017-10-11 17:01:19 +02:00 committed by William Pitcock
parent 81e4552be9
commit 53e255204c
1 changed files with 11 additions and 1 deletions

View File

@ -4,7 +4,17 @@
tests_init \ tests_init \
cflags \ cflags \
variable variable \
do_not_eat_slash \
do_not_eat_slash_body()
{
export PKG_CONFIG_PATH="${selfdir}/lib1"
export PKG_CONFIG_SYSROOT_DIR="/"
atf_check \
-o inline:"-fPIC -I/test/include/foo \n" \
pkgconf --cflags baz
}
cflags_body() cflags_body()
{ {