tests: add a test case for #146

pull/164/head
Baptiste Daroussin 2017-10-11 17:01:19 +02:00
parent a8a65c7f6c
commit 4e50938e78
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()
{ {