From 874d559e42e061e86dfce14e0bff8caf9e49e25e Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Tue, 6 Aug 2024 23:34:41 -0700 Subject: [PATCH] tests: add regression test for github issue #286 --- tests/regress.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/regress.sh b/tests/regress.sh index fa36849..9bed51a 100755 --- a/tests/regress.sh +++ b/tests/regress.sh @@ -40,7 +40,8 @@ tests_init \ explicit_sysroot \ empty_tuple \ solver_requires_private_debounce \ - billion_laughs + billion_laughs \ + define_prefix_child_prefix_1 # sysroot_munge \ @@ -336,3 +337,9 @@ modversion_one_word_expression_no_space_zero_body() atf_check -o inline:"1.2.3\n" \ pkgconf --with-path="${selfdir}/lib1" --modversion "foo >0.5" } + +define_prefix_child_prefix_1_body() +{ + atf_check -o inline:"-I${selfdir}/lib1/include/child-prefix-1 -L${selfdir}/lib1/lib64 -lchild-prefix-1\n" \ + pkgconf --with-path="${selfdir}/lib1/child-prefix/pkgconfig" --define-prefix --cflags --libs child-prefix-1 +}